Beginners - February 2011 (Page 27)

SFML Space Shooter - Code Review
 
Hello, everyone. Some days ago I asked for a revision of my code for a space shooter, and I got excellent feedback. Following your advice, I wrote a new program...
[no replies]
strange input/output results
 
Hello all, I am fairly new to C++ programming and have been struggling immensely with a program I am trying to write. Basically I have a document with words and...
[2 replies] Last: Thank you for the post, but mmmm... still not working, it still gives ... (by joshsk2005)
by chess
Search in unsorted array
 
Hi I have a question , I can not figure out some part of it, so I need a little help. I was asked for to write function UNSIGNED SEARCH(CONST UNSIGNED a ,...
[5 replies] Last: UINT_MAX is a macro defined in climits. It translates to 4294967295 ... (by ne555)
execvp problem?
 
I've spent quite a few hours looking over the code, but cannot find the source of the problem. All I know is that execvp doesn't find the program. I can speci...
[4 replies] Last: OH! You're absolutely right. I added the newline to the delimiters... (by vsector)
Debug Assertion Failed.. BINARY FILE READING...
 
I'm trying to compile this code, and I get a pop up on my screen saying something like this: ************************************* DEBUG ASSERTION FAILED! ...
[1 reply] : template <class SLOTS, class KEY, class DATA> class BUCKET : private... (by ne555)
by Krahl
2-D vector as argument
 
Hi, I declare a function as follows double fun(vector<vector<double> > r2, int iMass ,int iIndex) then I declare a 2-D vector as follows vect...
[4 replies] Last: Ahh yes thanks (by Krahl)
trouble with function pointers
 
I'm not really sure about my syntax here, I'm getting an "expected ;" error. I'm trying to store a pointer to a function in my class. class myClass { ...
[3 replies] Last: Like in your function definition, pFunc is the name. Thus when you are... (by firedraco)
For loop with max/min
 
I know that this is a simple request. But I've struggled with it for some time. if someone could give me some direction or help, that would be great. fstr...
[15 replies] Last: @jsmith, Thanks, I guess I should be careful of my sources and try ... (by cppmatt)
Multidimensional arrays/NULL/passing by reference
 
All, I’m new to C++ and trying to figure out the best way to do a multidimensional array of pointers to a class. The code I am presenting demonstrates s...
[2 replies] Last: For future reference, updated and corrected code: // MatrixTest ... (by Maxwell)
Runtime Error when using char arrays
 
Hey everyone. I would like to start off this post by intoroducing myself as a beginner to C++. I have been working with C++ through Visual Studio 2010 for the p...
[2 replies] Last: thanks Zhuge, that took care of the problem :) (by sohalezakeri)
by W Neto
is C++ a good choose for the future market?
 
I like programming in C++, but my teacher says me that java (and C#) is better for the market, I think here everybody prefers c++, but, is the perspective of t...
[6 replies] Last: I'll continue studding C++... And after look the ranking of the progra... (by W Neto)
Had C++ Interview - went not well :(
 
Hi I just had a C++ Interview - it did not go well - I was hoping I could get some questions cleared up so I can perhaps learn if I get another one. The ques...
[16 replies] Last: Thanks firedraco :) (by jenia)
by pooshi
Returning an array from a function
 
Hello. What I have here is a function that is suppose to return an array of integers. There is a struct array (data1) that holds a first name, last name and the...
[5 replies] Last: Thanks kbw for your time and information. (by pooshi)
by tonnot
Exist an assistance program to find c++ topics 'by word' ?
 
Sometimes I need to look for a specific function. for example 'write', and I'd want to have a help assistant (like windows help) to search across a full c++ re...
[8 replies] Last: man you will need this packages: _manpages-dev (for C) _libstdc... (by ne555)
how should i construct the program
 
horoscope has 5 different segments namely WOOD, FIRE, EARTH, GOLD and WATER. The corresponding animals for these five are DOG, CAT, RAT, TIGER and MONKEY. The...
[4 replies] Last: thanx a ton!.. works..i dint know the "cin.ignore" concept.. THANX D... (by Badshah)
by vls610
Dice Game.
 
Hello, I'm having some issues with my program, its suppose to roll a die then once the score reaches a set limit it declares a winner, if the roll is 1 then ...
[2 replies] Last: edit: in addition to the main problem Alright I'll post as I find p... (by ultifinitus)
Terminal issues
 
I work on a mac, and use Terminal to run my programs. For some reason my terminal stopped working. It allows me to type, but no response is there. It's just ...
[1 reply] : Well, that program wouldn't be outputting anything, so you shouldn't s... (by firedraco)
Newbie Advice
 
I have extensive programming experience with javascript, html, asp, some php, basic, Visual Fox Pro, etc... I have been programming for around 30 years and I l...
[10 replies] Last: A few more links that may be helpful in the future Visual C# develo... (by closed account z05DSL3A)
file.open
 
Hi, I need help with data.open("Data.dat"); It`s true that when I open some file (text file) and read some values from it to some variables and then close it...
[3 replies] Last: hmm i did it like this data.open("Data.dat"); data.seekg(0,ios:... (by julof26)
Programming question
 
Hi I have recently had a interest in programming and have decided at my ripe old age to take the plunge into C++. I have installed Visual C++ 2010 express and ...
[4 replies] Last: Thanks to all for the help. I finally figured it out. (by alternative3d)
February 2011 Pages: 1... 2526272829... 43
  Archived months: [jan2011] [mar2011]

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