
please wait
by every1play
Questions of c++ codes being used
|
I saw this code on the net a while agao but i cant seems to understand why he uses structs combos and strcpy can anyone explain to me? #include <iostream> #inc... |
Aug 28, 2012 at 6:15am
[4 replies] Last: Because that's what he decided to use when making the program. He cou... (by Anthony Hernandez)
|
by RastaWolf
Critique my code
|
Hey everyone, First off, I'm a superN00b programmer so this is not very advanced. I just finished a project that does some textual analysis by exploding strin... |
Aug 28, 2012 at 3:19am
[4 replies] Last: So every time I want to use 'i' as a counter I should use a for loop? ... (by RastaWolf)
|
by kaseron
struct vs class
|
I am writing a sudoku-type game, and I want to have a random generator call a game from a list of saved games. Should I use a struct, a class, or something else... |
Aug 28, 2012 at 2:38am
[7 replies] Last: I'm guessing you can't use inheritance with structs, but I'm probably... (by Disch)
|
game help |
hey, I posted earlier witha really bad code which I developed for an assignment. I am doing software design as a subject at school and with not C++ experience a... |
Aug 28, 2012 at 2:16am
[13 replies] Last: I just put the called functions above the main program instead of unde... (by Fallenfantasy182)
|
by Ch1156
Can i do this?
|
Ok so i am working on pointers and its going well but referencing stuff in the constructors can get hectic, especially when i have 7 different things that need ... |
Aug 28, 2012 at 12:05am
[5 replies] Last: for the player to enter their name getline(cin, n.name); (by Ch1156)
|
by Aceix
How to display strings randomly...
|
Is there anyway I can display strings randomly in C++? eg: string a,b; a="Chicken tigh."; b="Fish"; then when I open the program, it displays either ... |
Aug 27, 2012 at 11:25pm
[5 replies] Last: Thank you all!!! (by Aceix)
|
by dawtsf1187
Multiple function definition when using custom header files
|
Hello. I've recently been trying to take a giant mess of code that I'm working on and split it into small, more convenient files by adding various .h and .cpp f... |
Aug 27, 2012 at 11:22pm
[9 replies] Last: Well, I wasn't exactly able to resolve the problem, but I was able to ... (by dawtsf1187)
|
by Ill 4st 7lbs
Getting back into C++
|
I used to know more when i was younger but slacked off for certain reasons. Right now I'm trying to relearn the basics. I figure a good way is to write a pro... |
Aug 27, 2012 at 11:08pm
[2 replies] Last: Here are some links that will help you http://www.cplusplus.com/doc/tu... (by Maniax)
|
by therefore
What is the meaning of //<start id="simple"> ... //<end id="simple">
|
I am a beginner. I'm seeing code like: // Simple doc //<start id="simple"> BSONObjBuilder simple; simple.genOID().append("username", "J... |
Aug 27, 2012 at 11:06pm
[3 replies] Last: Thanks for the help! (by therefore)
|
by rip3dfx
c++ n00b woes
|
hello as a newbie to C++ I was wondering and I know this gets debated alot what the big war between C++ and c is all about. I have been googling this for age... |
Aug 27, 2012 at 10:40pm
[8 replies] Last: its hard not to pick back at ppl who are generally think the sun shin... (by Dash)
|
by Zeph78
I have a question about the heap and constructor/destructors
|
Hey everyone, I have yet another question on allocated objects on the heap. Lets say I have an object and I allocate memory for it: Object *object = new Obj... |
Aug 27, 2012 at 10:21pm
[6 replies] Last: No, you don't need to perform any deletes in the function. You're pas... (by MrHutch)
|
by sayswho
Getting Word Frequency From Vector
|
Hi, Hopefully you can help:) I am trying to figure out how I would be able to count how many times each element of a vector of strings was entered; Googled i... |
Aug 27, 2012 at 10:06pm
[8 replies] Last: I changed the code again and now got a little further I hope:) void ... (by sayswho)
|
by EindacorDS
Am I too old to make a career out of programming?
|
I know this is extremely selfish of me, but I could really use a boost. I'm 29 and stuck in a career I really don't like. It's long been a dream of mine to lear... |
Aug 27, 2012 at 9:31pm
[4 replies] Last: [quote=EindacorDS]Is there anyone that decided to pick this stuff up i... (by MrHutch)
|
by RastaWolf
trying to get these if statements to work T^T
|
Hey Everyone, I can't seem to figure out how to get these if statements to work properly. I'm at the point where I just want to see how to do this properly... |
Aug 27, 2012 at 8:45pm
[5 replies] Last: Okay I see, so the conditional operator was created in order to save t... (by RastaWolf)
|
by kaseron
Not sure if this is beginner, but...
|
I am making a sudoku type game and its a console app, so I am coding the arrows to move the cursor. The cursor is going to be simply changing the color of the ... |
Aug 27, 2012 at 7:43pm
[7 replies] Last: No, but you can find all the win32 API codes for them here: http://ms... (by kaseron)
|
by samrux
Color changing function for printing text
|
So posting in this forum to help someone (http://www.cplusplus.com/forum/beginner/77879/), I noticed that the function I tought of did'nt work as I would want. ... |
Aug 27, 2012 at 6:08pm
[3 replies] Last: @samrux Very nicely done. I'm not sure why the color variable still c... (by whitenite1)
|
by Cobby
Need help with code reduction please. New and don't know where to start??
|
Square.h #ifndef SQUARE_H #define SQUARE_H static char VigSquare = { {'a','b','c','d','e','f','g','h','i','j','k','l','m','n','o','p','q','r','... |
Aug 27, 2012 at 5:44pm
[9 replies] Last: Well, this... Only one thing, as I'm not very good: You can make char ... (by samrux)
|
by Mark1989
Buffer overflow!? Please HELP!
|
Hi people, my names Mark i'm new to this forum. I have been asked to listen vulnerabilities in this piece of code, focusing on buffer overflow etc. I am struggl... |
Aug 27, 2012 at 5:12pm
[5 replies] Last: Right - thanks for clearing that up, I think I had a faulty idea of wh... (by closed account o3hC5Di1)
|
by kaseron
Assorted questions
|
1: How do you define multi-dimensional arrays? I thought it was like this: int array ={1,2,3} {4,5,6} {7,8,9}; but that gives... |
Aug 27, 2012 at 4:41pm
[8 replies] Last: Well, for me it works perfectly when using getch() (by samrux)
|
by F4B1An
wxWidgets MSYS problem
|
Hey guys, I tried to setup wxWidgets on Windows with MSYS and MinGW. I used the MinGW Shell (MSYS) to build and install the library. My procedure: 1) ... |
Aug 27, 2012 at 3:24pm
[7 replies] Last: My bad...I thought that wxWidgets was a header. (by kaseron)
|