Beginners - September 2011 (Page 3)

"Visual C++ 2010 Express" vs other compilers
 
Hi, I'm using MS Visual C++ 2010 Express compiler. I'm wondering how much (if any) I'll have to change my code if I use it under another compiler. Thanks
[3 replies] Last: By not using any extensions that your compiler provides and by not rel... (by Athar)
EXC_BAD_ACCESS (SIGBUS) in C++
 
I am writing an iOS application in C++ using DragonFireSDK. My latest build crashes on my iOS devices with the error EXC_BAD_ACCESS (SIGBUS). I know that it's ...
[no replies]
by Paola
2-D Array from text file
 
Hello, my program is long but I need to have two 2-D arrays. The first thing is to read from a text file which looks like: 00100009 00200004 00300000 84 0...
[2 replies] Last: Hey jalfor, thanks a lot for the reply, my professor helped me an now ... (by Paola)
Binary files...again. Loading for a game.
 
When I try to open a binary file that doesn't exist does it create one? If not, how can I make it?
[3 replies] Last: Thanks. I found out it auto-creates one if you don't have one though. ... (by Zexanima)
ASCII problem
 
Hey guys, (I'm french so I'm sorry for my bad english) I'm trying to do a loop that will display the characters for the ASCII codes 0 through 127. My problem...
[4 replies] Last: Thank you very much, I can finish my program now :) (by firutger)
by kw1991
reading words from a text file
 
i have a text file with a list of information on it i.e. names, dates they were working etc. i want to search this file for a cetain name and i want to display ...
[5 replies] Last: getline: http://www.cplusplus.com/reference/string/getline/ (by Athar)
C++ Equivalent to Java Generic Code
 
Hey! I want to implement a generic graph data structure in C++. I did this before in Java however, there seem to be major differences between Java generics a...
[2 replies] Last: oups ^^ thx (by henning)
Problem saving my work
 
Hi guys, I just started learning how to use visual studio 2008 and I'm having some issues with my files. Everytime I try to open my cpp files and pick up where ...
[2 replies] Last: Thank you that seems to solve the problem. (by boots12)
by lirik
Looking for a firm understanding of different lines
 
I've been doing well on my program writing so far but I have a question as to how to understand what I'm writing. I have a firm understanding on variables, writ...
[2 replies] Last: Thank You. (by lirik)
object oriented programming i c++?
 
i am kind of new to c++ so i was curious about a few things considering object oriented programming. 1. what is it used for? 2. is it usefull for games and ...
[4 replies] Last: i have a fair bit of knowledge in the very basic stuff (like variables... (by even821)
Writing to a binary file trouble.
 
I'm making a game to challenge myself. I've been working on the save function of my player class but I can't seem to get it to work. It's suppose to write the p...
[2 replies] Last: Oh wow! Can't believe I missed something like that. I had to look the ... (by Zexanima)
problem with code
 
For some reason this code falls into the 25 percent discount no matter what when I execute it even if it should only give a 10 percent discount. thanks in a...
[7 replies] Last: I just figured it out. I didn't have a case for when the subtotal was ... (by Johndoggy)
Headers for colums and rows
 
This is the program I've written and I need to add columns and rows for the table. Like most people here I'm just starting so I'm in the dark as to what I'm su...
[2 replies] Last: You'll have to excuse my ignorance. I'm very new to this and I think ... (by Doccarson)
can't figure this out (1,2)
 
Can someone take a peek at this code and tell me why the % operator is not returning the remainder like it should be. It compiles & runs but doesn't return the ...
[21 replies] Last: Oh God!! That's what comes of not sleeping by midnight! The final corr... (by Nisheeth)
a beginner question
 
i am a beginner in programming, so the question i have might be very "nooby". i have realised that i will need a fair bit of knowlege in math and physics(or...
[12 replies] Last: lol that last part of your comment made me laught...gues i might strik... (by even821)
validating user input
 
I'm trying to validate user input that user must enter number and it must be greater than 0, the validation of only numbers I got it working; however, I can't s...
[5 replies] Last: http://www.cplusplus.com/forum/beginner/18258/ Read the whole thread. ... (by Duthomhas)
by jalfor
Multidimensional Bitset
 
I'm trying to make a simulated RAM, and the most space efficient way of doing that seems to be to use a bitset. How do you go about making a two dimensional bit...
[1 reply] : I've thought up a way...I'm going to create an array of shorts and use... (by jalfor)
by Vhorx
c++/cli questions
 
Hi everyone, Im doing a small program for work. I'm still new to this so ill ask a quick question or two. I have several tick boxes, and they all have output...
[no replies]
by nib
Videogame programming books
 
Hey guys, long time reader, first time poster here. I was hoping someone could suggest a recent book on the subject of writing Videogames for the PC with C++...
[1 reply] : it depends on what sort of games you are looking to make. iv done game... (by olzi)
Need some help on strings please.
 
I'm making a program that will add/subtract/multiply/divide two 3D points for practice. It works, but when the user inputs their points as is each coordinate of...
[no replies]
September 2011 Pages: 12345... 48
  Archived months: [aug2011] [oct2011]

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