- Upvotes Received
- 3
- Posts with Upvotes
- 3
- Upvoting Members
- 1
- Downvotes Received
- 0
- Posts with Downvotes
- 0
- Downvoting Members
- 0
8 Posted Topics
hello friends, I am doing a bank management system project where I have to conect a database done in MS Access(.mdb extension) to the C++ code...I ve never learnt much about databases and this is the first time I m using Access...so I d be grateful if anyone could explain …
srand() takes a seed as an argument and in this case...the system's time is the seed which naturally keeps varying ....so you get a true random number simulation....there are so many other algos to generate random numbers....you can refer a good algorithm text....place srand(time(NULL)) anywhere before the rand() function
Hello...I wanted to install kdevelop on my fedora 8 PC ....so I did "yum install kdevelop".It installed fine. When I tried compiling a program it complained of missing g++ and gcc so I did "yum install gcc-c++" and made the PATH variable point to gcc34. Now when I try to …
Hi friends, I am using Netbeans 6.0.1 and I've installed MySql on Fedora 8...I 've been able to configure the jdbc-MySql connector that's bundled with Netbeans and I can create tables and query MySql using the Netbeans GUI.So I guess my connection was correct...My connection properties are as follows: Database …
I am simply inserting a row and it does nt even throw exception but the database is nt getting updated please find out what is wrong with this code import java.sql.*; public class Check { public static void main(String args[]) { try{ Class.forName("sun.jdbc.odbc.JdbcOdbcDriver"); String dataSourceName = "glad1"; String dbURL = …
Hi friends,my prof has just given me the code that changes the size of the cursor.....the code is heavy in the use of registers ,inregs,outregs etc and I dont even know where to start googling from...so can you tell me what inregs and outregs do and just give me a …
I am doing a lexical analysis program and this is a part of the code that counts number of keywords [code] int keyword=0; char str[]="int float + - 78"; char* ptr; ptr=strtok(str," "); while(ptr!=NULL) { if(((strcmp(ptr,"int"))||(strcmp(ptr,"float")))==0) keyword++; ptr=strtok(NULL," "); } cout<<keyword; [/code] to my knowledge there is no imbalance of …
I ve read that iostream is a derived class of fstream ,so including the "fstream" header is all sufficient to perform console i/p and o/p(ie cin and cout) .this worked fine as long as I used Turbo C++ compiler but now I ve switched to Bloodshed Dev C++ compiler and …
The End.