
please wait
programming |
how to make a source code?? |
Mar 12, 2012 at 8:07am
[1 reply] : Go troll elsewhere. (by webJose)
|
by Guru Angadi
How to make File Copy Protect using WIN32
|
Hello.. I have created a file using Core WIN32 & code is like this : HANDLE hFile = CreateFile("E:\\FileName123.txt", GENERIC_READ,0,0,OPEN_ALWAYS, ... |
Mar 12, 2012 at 6:51am
[no replies]
|
by invictator
srand and random number generator
|
Let my preface by saying that i haven't programmed in about 6 years. I just started a couple days ago so I realize that my code is inefficient. In essence I... |
Mar 12, 2012 at 6:21am
[3 replies] Last: ldm is right, if you have srand(time(0)) in your loop, then your ra... (by Stewbond)
|
by Ranger1
Trouble Linking
|
Hello! I'm having a little problem with my program, which I believe may be due to a linking error. The error I receive when I try to compile is: 1>main.obj : ... |
Mar 12, 2012 at 6:19am
[2 replies] Last: Thank you! That fixed it. =] (by Ranger1)
|
by Grimlocke46
Stack problems - Print bottom and smallest elements in a stack
|
Hi, i'm trying to write this program that uses a stack. Im just confused on how to create a function to print the bottom element in a stack. What i tried on my ... |
Mar 12, 2012 at 5:44am
[3 replies] Last: Thanks, that was a lot of help. Ok, so my smallest function now looks ... (by Grimlocke46)
|
by mattrob
weird substring error?
|
hello all, this is my first program in C++ its supposed to find the distance between two coordinates in the form (x,y) when i substring the 'y' value, it keeps ... |
Mar 12, 2012 at 4:59am
[4 replies] Last: hmm thats weird. in visual C++ it works with void and without cstdlib.... (by mattrob)
|
by xsemel
interesting problems
|
ok, im making a function that is supposed to solve a maze. the display function works and everything else works, except the solve. the code for the solve functi... |
Mar 12, 2012 at 4:55am
[4 replies] Last: using just '=' doesnt compare anything at all, writing if(x = 2){} s... (by Need4Sleep)
|
by anthonyh1990
Simplifying an Array
|
Hello, I'm trying to figure out how to simplify an incredibly long line of code. I'm trying to check whether one number of an array element is larger than t... |
Mar 12, 2012 at 3:24am
[4 replies] Last: I appreciate your help Long, but it's not doing what I want it to. I'm... (by anthonyh1990)
|
by Scussett
Newb Having Trouble Object Class Functions
|
Hi All, I am taking a basic programming course at school this semester, and we are currently learning basic C++. My assignment is to write a program that ha... |
Mar 12, 2012 at 2:38am
[9 replies] Last: Nvm, I was running the program instead of using the "Run to Cursor" op... (by Scussett)
|
by Hixster
Stackdump/Stack Trace
|
Relatively new to c++(so this code may seem idiotic), I have slowly been teaching myself to code using C++ since last year and I'm stumbling on linked lists. Th... |
Mar 12, 2012 at 2:34am
[1 reply] : solved it, I was writing *ptr1, *ptr2 etc... instead of *pt mods can ... (by Hixster)
|
by westbrook
SFML Help (1,2)
|
Hello, I'm trying to learn SFML, and I came across a problem. I'm using Code::Blocks, and I was trying to compile a very simple program (below). I'm not positiv... |
Mar 12, 2012 at 1:40am
[24 replies] Last: I've gotten that before. Did you build SFML with a different version o... (by ModShop)
|
by Diana Magers
Needs a While Statement
|
Ok, I have got this and now I am not sure how to do a While statment. Could someone help me understand. I need to incorporate a 'While" statenent. #include... |
Mar 11, 2012 at 11:51pm
[1 reply] : A while loop is one of the simplest loop forms. It starts with a con... (by closed account zb0S216C)
|
by Silvestar
no appropriate constructor available
|
#include <iostream> #include <math.h> using namespace std; enum tipTrokut {JK,JS,RS}; class Tocka { public: float x; float y; Tocka(floa... |
Mar 11, 2012 at 11:05pm
[15 replies] Last: If anything, the body of the constructor was irrelevant. (by cire)
|
by DexterMorgan
Inlining of member functions
|
I am reading "Ruminations on c++" and I had a question on something in the Prelude. The authors say ...because these member functions were part of the Trace... |
Mar 11, 2012 at 9:12pm
[13 replies] Last: Ok, I see what you meant. I didn't want my sample to be taken as subj... (by webJose)
|
by Steves
Need modifiable l-value
|
Hey guys I'm trying to make a program for myself and this is what I have so far #include <iostream> #include <string> #include <new> using namespace std;... |
Mar 11, 2012 at 8:35pm
[13 replies] Last: Where should I learn how to write the things that aren't in this sites... (by Steves)
|
by apeachaday
Not Reading Last Line of file
|
I've got a small issue with my program. It is supposed to read each line of the file and take the date provided and convert it to a Julian date for scheduling a... |
Mar 11, 2012 at 7:59pm
[2 replies] Last: Thank you for pointing that out. I had totally over looked that. (by apeachaday)
|
by Tony Karam
changing a name
|
case 1: char n1 ; cout << "Choose name: "; cin.getline(n1, 20); ref.setName(n1, 20); break; i have this part of code i am having trouble with th... |
Mar 11, 2012 at 7:39pm
[8 replies] Last: Thank u for info framework I used the same logic, I used cin.ingore()... (by Tony Karam)
|
by NGambit
int to char conversion
|
Hi, I need to store the value of an int variable as an element in a string. i.e. string S = "abcde"; int count; count = 15; //i.e count gets assigned some... |
Mar 11, 2012 at 6:58pm
[3 replies] Last: Sorry for the duplicate posting. I got it working based on the inputs ... (by NGambit)
|
by daniel96
Prompting the user to press Enter
|
I know the cin.get(); is supposed to prompt the user to press enter... is it not? I can't figure out why this is not working... take a look {string command; ... |
Mar 11, 2012 at 6:15pm
[4 replies] Last: When you input the word you press Enter. You read the word, but the bu... (by ne555)
|
by Lord Archaic
Filling in a vector with random #'s
|
I'm trying to code a Merge Sort that sorts through the numbers 1-10 and puts them in order...How can I code it so that it doesn't have just random numbers but a... |
Mar 11, 2012 at 5:22pm
[3 replies] Last: Took a little tinkering...but I got it (by Lord Archaic)
|