Beginners - December 2010

Recursion
 
can anyone tell how recursive function do i dont really understand it i have complicate hw plz
[4 replies] Last: aw man, you blew the surprise, I wanted the poster to figure that litt... (by closed account 3pj6b7Xj)
program stopped working!!
 
Hi everyone, can someone help me plz? my program has no errors nor wornings yet it stops working and the output is all missed up :( (in case you're wonderin...
[no replies]
by SK480
Program Auto-Closing, even with proper measures taken
 
I'm writing a program that basically encompasses everything from the tutorial. I have run into a problem with cin . I declared a float d , and said cin >> d;...
[10 replies] Last: The method I always use is std::cin.get(); right before your r... (by c monster)
by Icenel
Format
 
Hi, I have a problem with format This is the screenshot http://i53.tinypic.com/dxxyr7.jpg output text " * " in my program doesn't in the same line I want ...
[1 reply] : I'm not familiar with format tags. Try to use setw with cout (by ne555)
Change Case
 
hello can u see what the wrong in my code the program reads a string.Then passes it to a function ChangeCase . The function should change the case of each le...
[11 replies] Last: yes thank u its help alot (by sam2sos)
problem with rand ()
 
#include <iostream> using namespace std; int main() { int x =rand(%9)+1; cout << x ; return 0; } it shows always the same NO. each time i run the PROG. can i...
[12 replies] Last: #include <iostream> using namespace std; int main() { srand(time(0... (by Timur)
Language Reference
 
Is there a reference website for java libraries like the reference section in this website. I mean, where i can see like the math libraries in java and its me...
[3 replies] Last: java api documentation is well maintained... dont worry.. the link is,... (by chathura666)
Ideas?
 
Can anyone suggest any ideas for beginner's to attempt to tackle? So far, the only programs I have written is a bubble sorting algorithm that displays a sorted ...
[5 replies] Last: try some more sorting algorithms like quick sort, merge sort... try us... (by chathura666)
Creating game with classes' instances
 
Hello! I am trying to do my first C++ console game based on objects. I have been working in GM(Game Maker) until recently so I have quite good idea about what ...
[4 replies] Last: Your example is working perfectly for me, thank you. :) I don't get it... (by mSamyel)
testing my malloc..
 
Does anyone have any code that uses malloc() and free() again and again... i created two simillar functions and i want to test them.. already tested ok with my ...
[no replies]
where???
 
Where i can learn c++ and be expert in it??
[6 replies] Last: thanks all for helping me and a spicial thanks to Blackcoder41 @ bl... (by Black cpp)
new to c++ (1,2,3)
 
Hi. i am new to c++ i went with c++ over C because people said that it is a waste of time to learn c and what you are trying to doing is going to be using c++ ...
[40 replies] Last: sweet ok then ya i was reading this and thinking the same thing as in ... (by norgoshi)
Trouble with passing struct arrays
 
i think its best i explain this with an example void LoadArray(somestruct* input, int amount) { memcpy(pointersomewhere, input, sizeof(somestruct type)*am...
[no replies]
how can i use this fonction ??
 
this is the code void vierementgab(objet co, objet co1, int x) { co.solde ...
[5 replies] Last: They insisted, eh? Somehow I got the feeling that it wouldn't be that ... (by Albatross)
by woohoo
KBDLLHOOKSTRUCT ScanCode?
 
What is ScanCode, MSDN doesn't really explain it well in order for me to get it working with other apis. MSDN: http://msdn.microsoft.com/en-us/library/ms6449...
[1 reply] : google "scan code" also, you may want to google "scan code table" (by hamsterman)
by redhat
Class
 
Hi everyone. i want to create a class for student registration for example one student can register many subject and Created this class , but i Have problem be...
[6 replies] Last: Clear does exactly what it says it does. :) What clear does is eras... (by Albatross)
I cant understand this code!!
 
I download the tutorial in this site.I got a proplems in understanding this code #include <iostream> // factorial calculator using namespace std; int add (i...
[6 replies] Last: It is returning 1. It's just then being multiplied by all the previous... (by Zhuge)
Initialization List Redudancy
 
Hello, I am wondering what would be the appropriate way to go about this: I am making a class which can be initialized with either an int or a string. I also...
[1 reply] : With the current standard, the closest you can get is to do something ... (by Disch)
how to write wit a diffrent languege
 
i want to know how can i write with a arabic languege or other lunguege in c++ like :- cout <<"负"; //this charecter for ex. or cout <<"أ"; //this //i...
[6 replies] Last: Depends on what cout will output to. On Windows' cmd.exe is very diff... (by Bazzy)
char * pointer question
 
How do I initialize and use one? for(x = 0;x<number;x++,y++) { ostringstream child_file; istringstream s; child_file << std_name << " Pt " << y <<...
[13 replies] Last: I see what you mean. I think your suggestion has merit. Mine complet... (by kbw)
December 2010 Pages: 123... 35
  Archived months: [nov2010] [jan2011]

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