Beginners - January 2010 (Page 23)

by yasser
How to add the user to file ?
 
Hello , I have problem when I want to send the user name of a computer to file that made befor...
[no replies]
by nix
Object Oreintied Program using jasaw
 
hi I need to create a application which does the following The application should save a list of ...
[3 replies] Last: I have started the design and urgently need help I am completely stuck... (by nix)
what is a reference to pointer intended to do?
 
Hey, folks,I met a block fo code in my book, and I don't understand why we need a reference to point...
[10 replies] Last: i mean is BTnode a pointer to a reference? or a reference to a pointer... (by blackcoder41)
by tick
Reading from a file / MySQL Database
 
I have some information that I need to have stored and later be retrieved and/or modified. I have co...
[1 reply] : if you want a simple app then just use a text file, if you need to sto... (by blackcoder41)
do you have to re-type "virtual" in derived classes
 
Do you have to re-type the "virtual" keyword in a derived class for the overridden methods (where th...
[3 replies] Last: I agree with Bazzy on re-typing it. It is a convenient reminder or a ... (by moorecm)
by zappa
Read File Into Array
 
Hi I am the beginner for C++. I want to know how to wrtie a code to read a file "abc.txt" and rea...
[4 replies] Last: http://cplusplus.com/doc/tutorial/files/ the example at the bottom ... (by gcampton)
Something really strange in the parameter list of a member function !
 
This declaration is in the class definition, and it appears very strange! ostream& print( ostrea...
[2 replies] Last: Oh, I see, thanks ,man! (by akilguo)
Prime Numbers
 
A prime number is defined as an odd integer that is not divisible by any odd integer less than or eq...
[14 replies] Last: I guess the definition was put to rest in the 1970's from what i am re... (by BettyBoopTS)
What is the difference between strings and cin?
 
Like for example: Cout << "UHHHHHHHH" << endl; cin >> x; cout << "UHHHHHHHH" << endl; getlin...
[1 reply] : if x is a string, cin >> x; will read only a single word, getline(c... (by Bazzy)
Organisational experts :)
 
This topic doesn't really fit (kind of). I'm wondering how people organize their code on there compu...
[no replies]
Dev-C++ or MS Visual C++ or Ather Program
 
Hi, I have MS Visual C++ but I was wondering which one is better or should i say simpler because i l...
[3 replies] Last: code blocks is good, very simple. and also runs single files. or ... (by gcampton)
Looping (1,2)
 
Is looping constantly this complex? I couldn't design something like this if my life depended on it...
[24 replies] Last: There are 3 forms of pow. Each form is an entirely seperate function.... (by Disch)
returning an array using pointer
 
#include <iostream> using namespace std; char * userInput() int main() { int i; char f...
[2 replies] Last: whoa! thank you very much Disch. I never thought about that! (by olredixsis)
Find Mth to last node on a singly liniked list...
 
I have a question on which algorithm is more efficient (time & space) on solving this singly linked ...
[6 replies] Last: You shouldn't have to loop through the list more than once: firedra... (by Disch)
by Mazd
Challenges for biggeners
 
months ago i was bussy teachng my self how to program using c++,i wrote quadratic equation solver as...
[5 replies] Last: I learnt from my physics teacher,that better way of studying hard subj... (by Mazd)
Simple pointer question...
 
Is the following code valid for removing the first node of a linked list? Node *temp = head; ...
[3 replies] Last: It only makes sense if the pointer will continue to exist later. For e... (by helios)
How to check if memory allocation failed?
 
For a linked list/any dynamic memory allocating object, what is the best way to check if the mem all...
[1 reply] : If "new" fails, does it return a null pointer? Only if you use t... (by Disch)
Calling a char Function
 
Im know im doing some wrong here, And thats its probably something really stupid but here goes, Im T...
[6 replies] Last: Thank you for the insight, that really clarified a ton of what I learn... (by yoked88)
would like better implementation
 
I just did a small text encryption example. But I am unsure how I can make it better. eg. If I read ...
[14 replies] Last: [quote=bazzy]There's no difference, a string literal is a char array ... (by blackcoder41)
by GRH
Route problem (1,2)
 
There's an array of structs, containing the different routes between each points. For example: http...
[22 replies] Last: I've already solved that problem Disch, but thanks :) Now I'm display... (by GRH)
January 2010 Pages: 1... 21222324
  Archived months: [dec2009] [feb2010]

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