Beginners - March 2012 (Page 17)

just a little problem whit if statement..
 
hi im trying to create a program that will just take user input and then print into a text file like this ex: user input = 10 text files contains then = 00.0...
[5 replies] Last: ok i tested the program and the problem that is explained above came b... (by Mrcerimo)
creating a "Library" class.
 
Hi, I am creating a library class, but i am a little confused on how to do these things: -shows all library cards, and all library books, from an output file...
[9 replies] Last: the streaming method is just when u get information you upload it dire... (by ui uiho)
by nayabM
y/n command
 
GAME CODE : GUESSING THE NUMBER: . . . . if(num == randnum) { printf("Excellent! You guessed the number with %d tries!\n\n", tries ); printf("Would yo...
[7 replies] Last: HMM I TRIED THIS .. BUT IT REPEATS THE ONLY FROM EXCELLENT ...... AND ... (by nayabM)
printing stock structure
 
hi all I have written a block of code that answers the following: Write a C function that reads from the user (keyboard) the information about the transisto...
[3 replies] Last: struct STOCK // Make a struct { int info1; // This is data in the... (by Stewbond)
by ihato
Search files/folders in a directory
 
and then save the found things in a vector or array. Can it be done? I have read the "Input/Output with files" but I haven't found anything about searchin...
[2 replies] Last: The boost::filesystem:: library can help you with this. Otherwise y... (by Stewbond)
Urgent! Help with days of the week array
 
Declare an array of floating point elements called week that can be referenced by using any day of the week as a subscript assume sunday is the first. Okay. Ju...
[6 replies] Last: It's becasuse you haven't defined a type for week. Replace week ... (by Stewbond)
Reference Variables I really dont understand
 
Hello everyone, Im having a difficulty of what is the use of reference variables and how to use it specially in gaming can someone give me a brief explanatio...
[2 replies] Last: A reference is used here so that changes to score inside getScore will... (by Peter87)
Irrlicht, thoughts?
 
So I've been getting into graphics programming, and working through D3D currently. Anyway, I've been looking at getting into an actual 3D library, so I don't ha...
[no replies]
for loop working, line counter not working..
 
Hi, this is my first post.......yipeee!! :) I'm a beginner to C++, and i've written a simple program to teach myself about for loops with a line counter. The f...
[3 replies] Last: btw, here's another alternative: for(bush=1; bush <= 150; bush++) {... (by chipp)
How do I use classes to store and print out student objects
 
Hi, I'm relatively new to C++ and I am trying to dynamically store student objects using classes, but I am getting strange errors when I try to compile it. Here...
[10 replies] Last: you mean something like Student(const std::string id="", const Name... (by closed account zhfjE3v7)
Creating a simple game in C++ and capabilities
 
I am new to programming in C++ and want to start using it for making games. Is their any tutorials out there for creating platforming games ? I have been sea...
[5 replies] Last: As in what else? If you want different library options, just Google "C... (by ModShop)
What book would you recommend?
 
I started off with "C++: A Beginner's Guide" by Herbert Schildt. Now I've learnt that the general consensus is that Schildt teaches bad practices. I've loo...
[8 replies] Last: Effective C++, Thinking in C++, The C++ Programming Language are all e... (by DexterMorgan)
by findme
del
 
delete
[no replies]
1D Array and Data file problems and missing inputs
 
Good evening everyone I'm about ready to pull my hair out. Honestly, I'm not even sure where my error is. It's matching up code samples I've seen from the we...
[no replies]
Explanations for Constructors
 
I kept reading and watching tutorials for Constructor's types but one tutorial, mixes with the previous one, and I get confused lol. What does a Default cons...
[10 replies] Last: A default constructor is a constructor that is called at the initializ... (by Nexius)
by ihato
Is array member defined or not?
 
int* a = new int ; for(int i=0;i<800;i++){ a =i; std::cout<<a <<'\n'; } And it prints 800 numbers on the console. But why when the part int* a...
[2 replies] Last: Yea, I don't know "everything" how C++ works, but when I write the cod... (by ihato)
"no operator found which takes int"
 
ltr_freq_pair is a struct with two data members: a char called alphabet and an unsigned int called count. void plot_letter_frequencies(letter_frequencies...
[1 reply] : print_array is an array of ltr_freq_pair ltr_freq_pair is a st... (by guestgulkan)
How to learn wxDev-C++?
 
How to learn wxDev-C++ correctly? Because i have try to find the tutorial in internet but didn't find it . In another post i had read, by looking source code o...
[2 replies] Last: Stewbond,.. so.., that mean by looking source of Qt we can use it to w... (by sackmac)
by ewigej
C++ web programming, textarea via POST
 
Hello guys! This is my first forum participation experience, so please be nice!:) I am working on a small program which is going to prioritize 20 sentences ac...
[3 replies] Last: But C or C++ are not suitable for web programming. Those are not web-p... (by CosminNTG)
Declare an array of floating point elements?
 
Declare an array of floating point elements called week that can be referenced by using any day of the week as a subscript assume sunday is the first. Okay. Ju...
[2 replies] Last: #include <iostream> using namespace std; int main() { enum DayOfWe... (by Algar32)
March 2012 Pages: 1... 1516171819... 71
  Archived months: [feb2012] [apr2012]

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