Beginners - March 2011 (Page 17)

Need help with simple separate compilation
 
Hey guys, I'm a student, and I have the following assignment: Write a complete C++ object ori...
[4 replies] Last: Let me give you a push in the right direction. First, a class can hav... (by Soko)
by niche
HOw to change this coding into printf?
 
Hi, I have to change this into the old style (using printf) ------------------------------------...
[2 replies] Last: it's not a stream, you can't use the stream operator... << this is al... (by ultifinitus)
need to make an array keep calculating until it reaches number 1
 
i dont know how to make an array so that you can input a number.. it will do the calculations and ke...
[1 reply] : Well, your code is nothing like your description, and guessing from ... (by matsom)
How to read again after input EOF
 
#include<iostream> using std::cin; using std::cout; using std::numeric_limits; using std::str...
[2 replies] Last: So once input control-d, no input is accepted from the user, right? (by vencent)
Random numers generator (srand(), rand()) VERY BAD distribution
 
Hi everyone. I am writing a program that needs random numbers, but when I was using srand(); rand() ...
[12 replies] Last: lord, yours isn't really any different from the normal one. You gotta ... (by hanst99)
by ty98
how to make a console program make noise
 
I need to know how to make a console program make noise. Like a beep beep in different tones. Dose ...
[7 replies] Last: Thats cool! (by ty98)
how to sreen out numbers from line?
 
..... I want to select specified lines from a txt file.which the first two characters is digital.fo...
[12 replies] Last: good evening everyone (by peripheral)
Trouble with Classes
 
Im making a game in school where I have a series of questions and the response adds to or subtracts ...
[3 replies] Last: You will need to specify that the variable is passed by reference in b... (by PanGalactic)
dev c++ ?????????
 
can sfml 1.6 run on dev c++ and if so how
[8 replies] Last: Dev cpp is not a very ezy program to use. But it is very usfol! her... (by ty98)
by ty98
move mouse by a program
 
I need to know how to make a program that moves the mouse by its self. Do you have eny idea? th...
[11 replies] Last: Thanks man! (by ty98)
by MNM
Plz help! How to include correctly???
 
Hello people. Who can tell me, how to include header and cpp files correctly? How do not repeat or ...
[11 replies] Last: Glad to hear your problem is solved, however I would again recommend n... (by closed account Lv0f92yv)
by ogward
Read file into array (1,2)
 
Hey! I have this function that allwoes me to save the content of my array to a txt file. this is th...
[21 replies] Last: That's not that bad. Though if you are interested in a way to convert ... (by Zhuge)
by ty98
help with the wait command
 
I need help with this. When I go to compile the program it says that the wait(2000); un declars ...
[6 replies] Last: I did not know that! (by ty98)
by ty98
make a program that waits ro 2 seconds
 
I need to know how to make a program that waits for 2 seconds. do you have an example?
[10 replies] Last: oh I did not notice that I'm sopposedto capitolize the S in the Sleep ... (by ty98)
trouble with int and OOP
 
I'm trying to get int to work in an oop class. . I uses Code::Block as an IDE. Look at the third po...
[1 reply] : line 9 of main.cpp is declaring a function. You are messing up things,... (by Bazzy)
how to swap 2 arrays with different sizes
 
Hello everybody, I have a tile map deffined as an array something like this: const int mapSize...
[14 replies] Last: below zero and greater than maxSizeY is not within the bounds of the a... (by prophetjohn)
Using sprintf for an array of ints
 
Hello, I am trying to figure out the best way to place 50 (1 digit) ints into an array of 50 chars....
[1 reply] : Is there any reason why you don't want to use a loop? (by hanst99)
by Maerle
output problem
 
#include <iostream> #include <conio.h> using namespace std; class complexos { ...
[3 replies] Last: Ah I see. No, the problem is that you were trying to output... nothing... (by hanst99)
by Tajmie
natural number problem
 
Hi everyone! I have a problem, which I should solve till tomorrow morning. My task is to raise a ...
[3 replies] Last: Thank you very much! It's working fine now.:) (by Tajmie)
find of the std::set
 
class record { friend std::ostream& operator<<(std::ostream& output, record const& RECORD) { ...
[12 replies] Last: I didn't mean it to be misleading. The point is, you normally don't wa... (by hanst99)
March 2011 Pages: 1... 1516171819... 52
  Archived months: [feb2011] [apr2011]

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