No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
9 Posted Topics
The primary mistake in your code is that it starts accepting num[] values from num[1] instead of num[0]. Its better to accept all the values of the array and then go into the next "for" loop for number comparison. As soon as a single repeated value is found, the program …
wow! nice list. I've got most of this, but never knew the modem thingy! *searches for modem**realizes that i use broadand**hits self round the head a couple of times* thanks man!
Hey! I'm an aspiring software engineer from India. I'm comfortable with Java, C/C++, VB6 and to some extent, HTML and CSS (because I need to build my own site). DaniWeb has been helping me over the past year or so, and I somehow hadn't joined till today! (stupid me). See …
it has a lot of bugs, still. Google say that it has been tested on "major sites" but major sites like Facebook still have a lot of problems with it. (you cant click on the "logout". Something that happens with IE7 in Vista, too.). I tested it for a few …
Well, I think I've just had my worst programming gaffe. I write a 600 line program using linked lists and compile it. In addition to the usual missing ";" and "}", I continuously kept getting a "x not declared" error whenever I tried to access a variable from a pointer …
quick note here, the above code can also be written as: [code]. . . while(datein) { datein >> year; if(datein.eof()) break; //Code here }[/code]
I use dev-cpp and dev has a separate lib folder to copy library files to. [code]F:\Dev-Cpp\lib\[/code] other software should (probably) have one too.
i'm sort of getting the idea, shamila. If you would post the shift() function, i think I might be able to help.
[CODE]#include<iostream.h> #include<fstream.h> int main() { char ch; fstream fio; fio.open("my_file.txt", fstream::out | fstream::app); if(fio.fail()) { cout<<"Error opening file."; } else { cout<<"Opened"; } }[/CODE] this works for me perfectly!
The End.
l4z3r