Beginners - March 2009 (Page 12)

Questions about Class using Linked List
 
class LinkedList { private: struct Node { Item data; Node* next; }; Node *HeadList; ...
[1 reply] : 1) Yes. 2) You already declared HeadList as a member of the class, ... (by jsmith)
Trying to make a program
 
I really want to make a program where it deletes a file. The problem is I want to make able for the ...
[1 reply] : an integer will hold numbers.. try using char a ; or char* a; mm if y... (by kypeswith)
bracketing confusion :)
 
I once ran into a basic ROT-13 encryption algorithm. In there I found this line byte = ((byte...
[4 replies] Last: Yes thanks again I got stuck on this almost two years ago what a relie... (by JC Coelho)
by bul268
How to calculate average?
 
Can anyone tell me how to calculate average in a C++ program for e.g average of numbers? I have u...
[5 replies] Last: thanks chungolongo! (by bul268)
by Jyy
Recieving info in a console application
 
Hello, Does somebody know how I can read any pressed keys? for example, when my program is open ...
[6 replies] Last: Thank you! (by Jyy)
Problem with function
 
hi everyone... i have this program #include <iostream> #include <string> using namespac...
[3 replies] Last: I thought it was obvious that the solution was to replace your char ty... (by jsmith)
For Loop Variables and how this would work. :S
 
Hello everyone. I am learning C++ and am currently having trouble grasping one thing to do with f...
[5 replies] Last: Ahh, alright, thank you. Now I get it. :D Thanks. And yes, you are... (by StephenP)
by masiht
function with switch statement
 
Can anyone please tell me how can I have one function that takes an argument that represents a varia...
[10 replies] Last: Dear mashit, I have used void main function. you just do one thing, ... (by matanuragi)
by zydeoN
Returning default values of variables
 
Hello, im new to c++. does anyone know how do i return to the default value of a variable?..:P
[2 replies] Last: ok, thanks it works :D (by zydeoN)
Error with dev-C++ 4.9.9.2 compiler
 
hey im getting and error when trying to compile with dev-C++ compiler :|. HElp MEEE! what shuild i d...
[2 replies] Last: http://www.rohitab.com/discuss/lofiversion/index.php/t27368.html (by jdd)
by Oromis
bool != bool
 
What is difference between the those two codesnippets (first one doesn't work, second does)? b...
[5 replies] Last: ...only slightly less clear. I like to use whitespace for clarity, ev... (by seymore15074)
return 2d array from function?
 
how to return 2d array from function to main? then can we save 2d array in 2d array of main and use...
[1 reply] : You can create the array dynamically and then return the pointer, you ... (by Bazzy)
by Sabal
Array question
 
I am making a program for fun to test out my knowledge of different types of C++ techniques. This pr...
[1 reply] : Because all of your variables are global, main already has access to e... (by jdd)
by terbor
Stopping the for loop
 
I cant seem to get a for loop to stop at the last entry. I can stop the user from entering numbers ...
[4 replies] Last: Look up getline() [There are also many many examples of this posted... (by jsmith)
Getline, Structutres
 
I am building a small practice program for fun containing structures to help me learn them. I made t...
[3 replies] Last: You can also use gets(drinks.name) to input the character string head... (by matanuragi)
example program book
 
is there a example program book or website that goes from basic to advanced while teaching c++ throu...
[6 replies] Last: I bought the solutions to Deitel C++ 6th Edition and the solution code... (by emanuels)
opencv webcam capture problem!!
 
My code is to display a webcam. I meet problem when it runs. I am working with VC 6.0 and using open...
[1 reply] : You already have a topic on the other Board. Delete one of them? (by Mythios)
by masiht
excess to .h file
 
I made a program and save it . In the folder I can get the .cpp file but not .h file .Can anyone ple...
[6 replies] Last: Save the main program as a .cpp and save the header as .h. If it is j... (by eker676)
by sari
Criticism
 
Hello All, I am currently learning C++ after about a year of Java and would like some criticism (...
[6 replies] Last: Ah, Simple logical error, Thanks (by sari)
ArrayList type Array in C++
 
Hello, I am currently having a problem and am trying to find the best solution. This is what I am tr...
[3 replies] Last: iirc exceptions are only thrown when you dynamic_cast a reference. Th... (by Disch)
March 2009 Pages: 1... 1011121314... 29
  Archived months: [feb2009] [apr2009]

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