No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
5 Posted Topics
Hi guys I been programming in c++ for past 2 years and is fairly good with it. First of all I dont need the code or anything but need some resources which i can use to get the basic idea so I can start developing. Had been googling for the … | |
I have a problem that i have tried my best to solve.. but its not working well in my program i take both integer and character inputs. [B]when typing fast i noticed that, when a user accidentally enters a character instead of integer or integer instead of character the program … | |
I am trying to take in inputs from the user for one of my projects. [CODE]cout<<"Enter Event Name (enter 'exit' to quit) ::"; gets(dat.evnm); cout<<"Enter Type Of Event (eg: Dance, Music, 'exit' to quit) ::"; cin>>dat.type; if(strcmp(dat.type,"exit")==0) return 0; cout<<"\n";[/CODE] here the line[CODE] gets(dat.evnm);[/CODE] will not execute, and the program … | |
Hi all I had been working on a project and there is a need for me to accept user inputed parameters from the OS shell like the kind we give: ls -a or dir /a where -a and /a are parameter, I want to basically accept a string from the … | |
Hi Basically i am trying to read a file and insert a specific string at a position. but it seems that the entire process freezes and the program runs out of control. [CODE] fstream shot; char mess[240]; shot.open("file.vix"); while(!shot.eof()) { shot.getline("mess",240); if(strcmp(mess,"<DEPT>)==0) { shot<<"< ANNOUNCED >\n"; //TROUBLE } } [/CODE] … |
The End.