Beginners - December 2010 (Page 2)

by Icenel
cout doesn't work
 
#include <iostream> using namespace std; int main() { int y; cout <<"Try cout !!\n\n"; ...
[1 reply] : The origional problem isn't exactly like yours but the solutions are: ... (by Computergeek01)
need explanation about this syntaxe
 
what's the diffrence between void verser(compte &c).... and void verser(compte c)... ...
[3 replies] Last: First one passes by reference, which will affect the original object, ... (by quirkyusername)
by ToniAz
sscanf() runtime error
 
Hello everyone! I am trying to read the string: Name: Toni, Age: 18, Weight: 80.5 using: ...
[2 replies] Last: Yes it was a typo but only here... I think it should be like this ... (by ToniAz)
variables
 
Hello i dont really know how to explain this but i have a variable called string place; and i got...
[15 replies] Last: Here is the resulting code... template <class T> class LockAfte... (by closed account 3pj6b7Xj)
binary mode
 
can anyone help me? how can we use endl in binary mode for files? for expl. fstream myfile; myfil...
[7 replies] Last: C++ is broken in this regard. You cannot seek properly unless you a... (by Duthomhas)
by rogvid
C++ noob
 
Hi I'm new to programming and just wanted to see if someone could tell me what I'm doing wrong in th...
[3 replies] Last: @kbw Thanks for the pointers and the quick reply. btw, I know it isn... (by rogvid)
by ogward
exam studying and got stuck.
 
Hi there! I'm studying for my exam and I've done an old exam that covers everything we should kno...
[8 replies] Last: hm.. in the header: public: void showTouch(); void showDesign... (by ogward)
by ToniAz
sscanf() return value
 
Hello everyone! I'm having trouble using the output of strtok() as an input to sscanf() . I...
[1 reply] : Problem solved... (by ToniAz)
by Capris
Object of a "predefined" class...
 
Hi, I have a question ... Is it right that I can "pre-define" a class (don't know the correct ter...
[1 reply] : That is called declaring. After declaring a class you can declare poi... (by hamsterman)
by Icenel
[Ask]C++ Combine 2 String Problem
 
Hi Guys, I want to ask something. This is my code and I don't know why it doesn't run. It can ru...
[3 replies] Last: strcat(combine, first); strcat(combine, " "); strcat(combine, secon... (by hamsterman)
by yts
inheritance
 
i m studying the multiple level of inheritance.This is my code.but i have error in this line: subje...
[9 replies] Last: this is the criteria given to complete the assignment. 1.1. Style (... (by yts)
Textfile to textbox
 
Hi all i am using this code to read a textfile #include <fstream> using namespace std...
[1 reply] : is that file a column of integers? anyway, a way to do this would be ... (by hamsterman)
by SK480
Dev-C++ Debugger
 
I have no idea how to use it. Simple as that. I've asked a friend of mine that was a programmer (act...
[2 replies] Last: Okay, I'll check out Code::Blocks, thanks. (by SK480)
by SK480
All answers are counted as correct on my trivia game
 
I'm currently working on my first game, a text-based trivia game about myself. However, no matter wh...
[3 replies] Last: Thanks for the help Zhuge! This piece of code here works like a charm:... (by SK480)
by vlad61
Rand() Stuff
 
Hello i have a question about the rand() function. when i cout<< rand(); it gives me some same ...
[6 replies] Last: Right! okay thanks thats what i was starting to think. /lick (by vlad61)
Newbie
 
Hi im sorta new to this but i was wonder if someone could help me gather some resources to use. I am...
[2 replies] Last: http://www.youtube.com/watch?v=Fl0LRlYJwck You can follow his tutor... (by Engborg)
text based rpg crash
 
here is my void game() function it is supposed randomly pick an event it does that perfectly fine un...
[4 replies] Last: There we go its fixed :D thanks you helped alot (by levijgraham)
Linking Code/Objects Using DevC++ IDE (1,2)
 
I posed this question 7 months ago on this forum with no luck and no luck searching the entire inter...
[30 replies] Last: yeah the PM bit was just a joke, ofcoarse ill ask public :D Thanks ... (by Sputnik)
DevC++ vs Code:Blocks
 
Hello guys I recently needed help on which compiler is the best for me. I wonder if Devc++ is good ...
[4 replies] Last: I loved Dev C++ when I first started learned C++. But, like some have ... (by borkus)
can anyone crack this?
 
can anyone tell whats happening here?! #include <iostream> using namespace std; int main()...
[7 replies] Last: You're welcome :] (by chrisname)
December 2010 Pages: 1234... 35
  Archived months: [nov2010] [jan2011]

This is an archived page. To post a new message, go to the current page.