Beginners - July 2013 (Page 28)

fstream opening binary file
 
I'm trying to open a binary file (about 700mb) with fstream and flag ios::binary but it always fails...
[7 replies] Last: Ok i've read up the file section again (I guess I missed out key info.... (by Nubcake95)
Question: Why isn't this sufficient?
 
This is just part of a code I am working on. Using Dev_C++. Why is my compiler saying that 'm' and...
[4 replies] Last: I just figured it out! You are absolutely right. Thanks for the help a... (by InclinedToFall)
Looking for help on how to write a code...
 
Hello, I am fairly new to programming and need help with a code. I need to create a code that ca...
[6 replies] Last: Thank you so much for replying! MheonYaE: Yes, what you have provides... (by sinha2366)
I am having trouble setting up SFML.
 
I tink I did everything correctly I linked audio, system, network, graphics, windows but they al...
[5 replies] Last: http://www.cplusplus.com/forum/articles/40071/#msg216270 (by ne555)
by zagzag
storing input value in an array
 
I want the user to make 5 accounts with 5 different passwords and for them to get stored in an array...
[3 replies] Last: Thanks a lot I tried that and it worked. (by zagzag)
How to compile?
 
How do you 'compile' the program, so that I can give an .exe file of it to someone and they can run ...
[3 replies] Last: At the top you see a green triangle and "Local Windows Debugger". Afte... (by Duthomhas)
buckysFile.is_open()
 
What does buckysFile.is_open() does? #include <iostream> #include <fstream> using namespac...
[2 replies] Last: http://www.cplusplus.com/forum/beginner/102253/#msg549876 (by kbw)
by leo255
Problem with get/set methods (can access some methods, and not others).
 
Hello, I'm following along with the Live Lessons C++ video tutorial. I did the entire chapter/all t...
[5 replies] Last: Thanks guys, I checked everything on my computer at work, and everythi... (by leo255)
by nomnum
SFML not registering?
 
So I am just getting started with SFML, and as soon as I set up SFML with code:blocks and try to cre...
[3 replies] Last: Thanks Cire and Disch, I thought if you added the base you didnt have ... (by nomnum)
Structure and char array question
 
So i was experimenting with structure arrays today just to kind of review a little. ( i'm fairly new...
[3 replies] Last: It is simply a warning. You can disable it. Function strcpy_s is not a... (by vlad from moscow)
Bitset equals another bitset
 
How do I set a bitset to be equal to another bitset? Say I have a bitset<3> mybits1(string "010"), h...
[4 replies] Last: Thank you. My problem was I have two bitsets of different sizes. (by jrfrago)
how does stringstream work
 
I do not understand the concept of stringstream #include <iostream> #include <sstream> using ...
[1 reply] : It's operator<< that performs the conversion, the same way it does it ... (by Cubbi)
Voice Chat - Low Latency Peer to Peer
 
I am trying to make a voice chat application. As i don“t know much of programming, i use a sample ...
[8 replies] Last: Okay, i changed my approach, i will try to use NAudio, it seems alot e... (by zerowalker)
Why am I getting these errors in this banking file?
 
I am working on a project for my class. Sadly, I have to take this programming class online and it ...
[4 replies] Last: Is that the entirety of your error message? Are you sure there's not ... (by MikeyBoy)
pointers and strings
 
So I'm writing a program that asks for a string, then assigns pointers to the head and tail, then re...
[12 replies] Last: Thanks a million, vlad! (by philbertfour)
How to define an array in a structure?
 
How to define an array in a structure? STRUCT A { B data ; }; why is this wrong?...
[7 replies] Last: Because you're trying to use the type B before you've declared it. ... (by MikeyBoy)
OpenGL help.
 
I was wondering how to make a window in OpenGL/GLUT, and making my objects render in it. My tutorial...
[6 replies] Last: This is just for some quick tests, eventually I plan to go back over t... (by Johnny111111111)
by zagzag
Store a value in an array
 
Hi I am working on a program that asks the user to create an account and verifies if the account is ...
[3 replies] Last: I am not saving an account but I am comparing the value in account ... (by kingkong200)
by nomnum
SFML: GCC or VISUAL C++
 
Super quick question, title says it all. I wanna download SFML but i dont know wether to get GCC or ...
[5 replies] Last: Thanks for all the advice guys! Especially MatthewRock, I realized I n... (by nomnum)
by nmn
empty array declaration
 
Hello, How else can I init this array pls ? class Ray { public: int myArray ; // since thi...
[3 replies] Last: thanks so much.... Vlad (by nmn)
July 2013 Pages: 1... 2627282930... 53
  Archived months: [jun2013] [aug2013]

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