Beginners - March 2012 (Page 44)

programming
 
how to make a source code??
[1 reply] : Go troll elsewhere. (by webJose)
How to make File Copy Protect using WIN32
 
Hello.. I have created a file using Core WIN32 & code is like this : HANDLE hFile = Crea...
[no replies]
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 ag...
[3 replies] Last: ldm is right, if you have srand(time(0)) in your loop, then your ra... (by Stewbond)
Trouble Linking
 
Hello! I'm having a little problem with my program, which I believe may be due to a linking error. T...
[2 replies] Last: Thank you! That fixed it. =] (by Ranger1)
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...
[3 replies] Last: Thanks, that was a lot of help. Ok, so my smallest function now looks ... (by Grimlocke46)
weird substring error?
 
hello all, this is my first program in C++ its supposed to find the distance between two coordinates...
[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...
[4 replies] Last: using just '=' doesnt compare anything at all, writing if(x = 2){} s... (by Need4Sleep)
Simplifying an Array
 
Hello, I'm trying to figure out how to simplify an incredibly long line of code. I'm trying to c...
[4 replies] Last: I appreciate your help Long, but it's not doing what I want it to. I'm... (by anthonyh1990)
Newb Having Trouble Object Class Functions
 
Hi All, I am taking a basic programming course at school this semester, and we are currently lear...
[9 replies] Last: Nvm, I was running the program instead of using the "Run to Cursor" op... (by Scussett)
Stackdump/Stack Trace
 
Relatively new to c++(so this code may seem idiotic), I have slowly been teaching myself to code usi...
[1 reply] : solved it, I was writing *ptr1, *ptr2 etc... instead of *pt mods can ... (by Hixster)
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 tryi...
[24 replies] Last: I've gotten that before. Did you build SFML with a different version o... (by ModShop)
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 underst...
[1 reply] : A while loop is one of the simplest loop forms. It starts with a con... (by closed account zb0S216C)
no appropriate constructor available
 
#include <iostream> #include <math.h> using namespace std; enum tipTrokut {JK,JS,RS}; ...
[15 replies] Last: If anything, the body of the constructor was irrelevant. (by cire)
Inlining of member functions
 
I am reading "Ruminations on c++" and I had a question on something in the Prelude. The authors say ...
[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 <iostre...
[13 replies] Last: Where should I learn how to write the things that aren't in this sites... (by Steves)
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 da...
[2 replies] Last: Thank you for pointing that out. I had totally over looked that. (by apeachaday)
changing a name
 
case 1: char n1 ; cout << "Choose name: "; cin.getline(n1, 20); ref.setName(n1, 20); brea...
[8 replies] Last: Thank u for info framework I used the same logic, I used cin.ingore()... (by Tony Karam)
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 = "abc...
[3 replies] Last: Sorry for the duplicate posting. I got it working based on the inputs ... (by NGambit)
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...
[4 replies] Last: When you input the word you press Enter. You read the word, but the bu... (by ne555)
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...
[3 replies] Last: Took a little tinkering...but I got it (by Lord Archaic)
March 2012 Pages: 1... 4243444546... 71
  Archived months: [feb2012] [apr2012]

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