
please wait
by mirec
time loop
|
Can somebody help me how to make some function to do every 10 seconds or so?? I tried with if (clock() > 10) but after ten seconds it always call it. I know tha... |
Feb 2, 2013 at 6:36pm
[13 replies] Last: No problem. Glad to help (: (by Lynx876)
|
by cspctec
Help reading numbers from a file
|
I'm trying to write a program that will read in some numbers and add them from a file. This is the file: 7 9 46123 85321 3872663 69826 222222222222222222222... |
Feb 2, 2013 at 6:20pm
[1 reply] : I'm not going to say it's the 'best' way of doing this, as there are a... (by Lynx876)
|
by Bodya
dontn't copy its_age Cat's in pointer tmp
|
#include <iostream> using namespace std; int * tmp = new int(77); class Cat { public : Cat(); ~Cat(); Cat(const Cat &); int getAge(void... |
Feb 2, 2013 at 6:19pm
[7 replies] Last: Ok - object frik has no initialize its age because they are not initia... (by Bodya)
|
by Lynx876
Create 'new' array of class, calling non-default constructor?
|
I want to create a new array of a class I have created. But when I create it, I don't want to have to call a default constructor. This is the code I have: ... |
Feb 2, 2013 at 5:28pm
[2 replies] Last: Oh wow, didn't think of doing it like that!! Thanks a lot for the repl... (by Lynx876)
|
by Peter7
Deleting a structure
|
So i have this structure: struct contrib {int num; string name; string adress;}; typedef contrib *cont; and i was wondering how do i free all the memor... |
Feb 2, 2013 at 5:28pm
[7 replies] Last: Thank you for the help! (by Peter7)
|
by donfire
fread (1,2)
|
can someone explain to me what is fread and its equivalent in c++? can someone translate this program to c++ for me? is in c #include <iostream> #incl... |
Feb 2, 2013 at 5:26pm
[26 replies] Last: lol Chipp we realise we're from the same country and we just decided t... (by donfire)
|
by Isengardium
How to make program to write on the screen symbols from ASCII
|
Hi all! I need help in makeing a program that will write ASCII symbols. Look what I want: #include <iostream> #include <conio.h> using namespace std; int main... |
Feb 2, 2013 at 3:23pm
[2 replies] Last: #include <iostream> int main() { for( int i = 0; i < 255; ++i ) s... (by Lynx876)
|
by Inchidi
if you can then you can ...
|
hi everyone! am new here also am very bad in english haha maybe you dont understand the title of this post but i mean... am really beginner in c++ so i want ... |
Feb 2, 2013 at 2:40pm
[no replies]
|
by Ch1156
multidimensional array game map help please
|
Im trying to create a small game using a multidimensional array but i cant seem to figure it out, i know its not a good idea to do it, but i wanted to try it. ... |
Feb 2, 2013 at 2:32pm
[15 replies] Last: Ok, so I was kind of making this sort of thing yesterday, so I mocked ... (by Lynx876)
|
by shaggy
Another person to work with me?
|
Helllooo there. I've always had trouble working out how to format my code,specifcally in this text based rpg that I'm making. Instead of posting my problem b... |
Feb 2, 2013 at 1:46pm
[2 replies] Last: Im intrigued, and I'll PM you (if I can- never tried to PM on this web... (by jaded7)
|
by gelatine
system solver. need check
|
hello i have written a program that solves linear system using rref on matrixs. i believe everything is working correctly but could someone check if there are ... |
Feb 2, 2013 at 1:44pm
[2 replies] Last: 1. Read up on code style/practices so that it is easier read. 2. Avoid... (by jaded7)
|
by Heartly R
Sort 2D vector by Multiple columns
|
I'm using the following boost algorithm to sort my 2D vector. #include <vector> #include <boost/algorithm/string.hpp> using namespace std; class StringList... |
Feb 2, 2013 at 12:12pm
[17 replies] Last: Working fine. I made a mistake. But I want to post what I have did for... (by Heartly R)
|
by DANNY123
please help me revise the function
|
#include <string> #include <vector> #include <iostream> using namespace std; int main() { string file=$Ilovestl.; filter_text(file,string, filter... |
Feb 2, 2013 at 11:15am
[1 reply] : There are an assortment of errors here. I fixed some of them, but also... (by Chervil)
|
by linoge669
find a given letter within a word
|
Hi I am a beginner, Here's the problem I Resolve: Writing a program capable of finding a given letter within a word entered by the user. The program must ... |
Feb 2, 2013 at 10:01am
[3 replies] Last: @IceThatJaw There is no any need to declare variable match to keep ... (by vlad from moscow)
|
by Kevinmc
Basic Stats Problem
|
Been looking at this few lines all day.It doesn't add up in my head, but when I run it, it's perfect. Can anyone explain this line by line or point out where i ... |
Feb 2, 2013 at 6:39am
[2 replies] Last: Thanks randisking, I think i know where I might got lost. The x of ... (by Kevinmc)
|
by mode12
automatic fail safe for infinite loops?
|
good evening! i am very new to C++ and am exploring the for loop. my assignment asked for a for loop that increments a variable but i accidentally made an infi... |
Feb 2, 2013 at 5:57am
[4 replies] Last: thanks so much for your time! (by mode12)
|
by Billy George
Error in converting numbers to roman numerals
|
So I am confused on the error I am getting. I have written two functions: one is the main but the other is roman_conversion. I have some sort of error here an... |
Feb 2, 2013 at 5:39am
[2 replies] Last: Well I corrected that and so thank you. I found it to be the {} that ... (by Billy George)
|
by nukacola
tic tac toe question
|
Hi everyone! I'm nearing completion with this tic tac toe program, except I need a little help. #include <iostream> using namespace std; const in... |
Feb 2, 2013 at 4:12am
[1 reply] : The problem is you are returning a bool from the checkWin function but... (by Hippogriff)
|
How to build FLTK on VS 2012 |
please could any one describe how can i run the FLTK library in Visual Studio 2012 ? |
Feb 2, 2013 at 3:57am
[no replies]
|
by imgregduh
inheritance + stl map
|
im trying to add "items" to a map that is declared in class A that are class B and C types lets say we have these classes class A { protected: map<int... |
Feb 2, 2013 at 3:30am
[5 replies] Last: > where do i exactly put this line std::map<int, A*> A::database ; ... (by JLBorges)
|