Beginners - May 2013 (Page 24)

by kabuki
Reading Datas From A Txt File
 
I'm trying to read the txt file into my main program but I'm stuck trying to get it to read. So far ...
[6 replies] Last: I know that c++ streams would make it a lot easier but my professor wa... (by kabuki)
by ccmccm
SDL image keep flashing, why?
 
Anybody can help? How can I modify my code to not keeping the text and images flashing? // Scr...
[1 reply] : You draw an image and then you make what you draw visible right away b... (by Peter87)
Help with a priority queue friend function
 
I have a priority_queue defined in my Items class as a composition object. priority_queue <Bid> b...
[3 replies] Last: If operator< is a member of Bid , then in: class Bid { public: ... (by cire)
by Aquos
my else statement problem
 
Write your question here. Hi all, im newbie that need your pro help, right now im trying to do a si...
[6 replies] Last: any other suggestions would much appreacite~ to enhance my skill~ (by Aquos)
its me again; sorry last question i swear lol
 
This prg actually compiles. with no errors, but after you input the values and the functions start ...
[2 replies] Last: spot on. didnt catch the was the problem, guess i wasnt paying as much... (by nightwing)
Help with Arrays and functions
 
the following code give an error which says "cannot convert form parameter1 from int to int" ???...
[4 replies] Last: Thankkss guyss (by elmoro15)
Help please
 
so i have a prg im doing for school. i have it done but i try to debug i get this compile error: ...
[3 replies] Last: damnit lol figured it was something simple that i was over looking. ty... (by nightwing)
by Umeed
accessing contents of header file used
 
Write your question here. I am trying to include a header file(that i myself have defined) named "M...
[5 replies] Last: "Can't you just make the game object a member of Minesweaper?" exactl... (by Umeed)
File manipulation
 
Hi guys, sorry to bother but I am having a bit of trouble with this question, I'm very new to file m...
[5 replies] Last: Thanks for the help but I just figured out the problem, the file I was... (by sebajun)
help me to read data
 
I don't know where, but seems my code is wrong. this is my input: 6 92 86 78 93 22 56 4 90 83 85 58 ...
[2 replies] Last: Hi, please use code tags. It has the <> symbol. Aceix. (by Aceix)
Issue with showing data from a class
 
Hey guys, When I run my program, all seems to go well, until I try reach my ShowData function. The s...
[1 reply] : itemDesc = "CS161"; This will set itemDesc to point to the array "CS... (by Peter87)
using private variable of a class
 
I wanted to know how to access my private variable. I have written a small code snippet. Is it the ...
[9 replies] Last: We haven't had any replies from the OP - are they trolling? (by TheIdeasMan)
Error in executable file
 
I've written a program using Code::Blocks and though it runs using the compiler, if I run the exe fi...
[2 replies] Last: Could anyone please explain what i hav to do o get rid of this error... (by chipp)
I want to move this triangle using arrow keys but the triangle shape is not comming please help me
 
#include<iostream> #include<ncurses.h> //#include<iostream> using namespace std; void triangle()...
[1 reply] : I do not see any use of x in your triangle function. (by MiiNiPaa)
help using int main(int argc, char* argv[])
 
Using the code, int main(int argc, char* argv ) { cout << 3*argv << endl; and call...
[1 reply] : #include <sstream> #include <iostream> int to_int(const char* s) { ... (by cire)
How to use Numerical Recipes?
 
I am having trouble generating a normal distributed number using the Box-Muller Method in Numerical ...
[5 replies] Last: The third parameter for your Normaldev_BM constructor takes a value ... (by cire)
by maxim
dynamic array allocation
 
Greetings C++ gurus, Here is a question for you guys. I used to think that C++ compiler should no...
[3 replies] Last: Thanks guys, these compiler flags solve the problem, now it behaves as... (by maxim)
I have WAY to many if statements
 
I want to shorten the amount of if statements in my code. I am currently writing a text based advent...
[3 replies] Last: Actually, your if statements might be just fine. You basically have se... (by Giraffatron)
by giblit
Lambda Question
 
So I know how to use a lambda to find the least accurate person in my structure. My struct contains ...
[11 replies] Last: what the heck? I need to relook at my code...because I put almost the ... (by giblit)
Need some ideas on how to do a raffle drawing
 
I am writing a small raffle program (as part of a larger program). The user can input a bunch of nam...
[16 replies] Last: haha no problem. Glad I could be of help. (by giblit)
May 2013 Pages: 1... 2223242526... 66
  Archived months: [apr2013] [jun2013]

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