Beginners - October 2012 (Page 38)

Writing to a .txt file using a function
 
Hello! So I'm trying to figure out how to pass a txt file to a function to be written to only. I wil...
[7 replies] Last: The reason you had trouble is because you put using namespace std; ... (by Moeljbcp)
arrays
 
My program is meant to shuffle a sequence of numbers 0,1,2,3,4,5 so that the ending result is 5,3,1,...
[7 replies] Last: Also, thanks for that neat trick with int C = {} my professor never... (by alepxpl93)
What am I doing wrong with this program?
 
I'm trying to teach my self functions by adding them to my already built calculator, but I can't see...
[1 reply] : 1st. Please use code formatting (the "<>" button) to post code. 2nd.... (by scapegote)
Please help with my first program!!
 
Hello! I'm a beginner of beginners to the max to C++ and I have started to go through the tutorial...
[6 replies] Last: You need stdafx.h if you're using MS Visual Studio. Codeblock doesn't... (by pnoid)
Why does program crash when an integer variable is declared in main (1,2)
 
I can declare an integer variable in the program anywhere except for the main function....I just ...
[20 replies] Last: so is there any way to convert a string to a number and decrement the... (by closed account DSLq5Di1)
Looking for Quality Online C++ course for mac
 
Hi I am new to C++ and computer programming in general for that matter. I have a mac and just downlo...
[2 replies] Last: This site has an excellent tutorial. http://www.cplusplus.com/doc/tut... (by AbstractionAnon)
Very basic
 
Hey everyone, I hve just recently started learning c++ and i have to write a program in which a use...
[6 replies] Last: Yes, but you should work on the core of the code first. Reread my post... (by LB)
Graphics in C++ Help
 
I have searched in many places and have failed to find a tutorial on how to display graphics in C++....
[5 replies] Last: On the contrary, C++ is quite possibly the best language for your RPG ... (by Morg)
Vectors and File I/O
 
I was using this forum as a guide and it raised a couple questions that I am having a little bit of ...
[3 replies] Last: Ok so all of this is to check to make sure that I'm on the right page,... (by soccerace)
vbvc
 
yty
[2 replies] Last: Your switch statement shall not work. That is it will always pass the ... (by vlad from moscow)
steps to build my own linux destro
 
hi yall,i wanna build my own Linux OS,but i dont know where to start should i download an already ex...
[no replies]
Skipping my for loop
 
Here is one of the functions in a program I am writing. For some reason I cannot figure out why the ...
[4 replies] Last: Right I forgot how for loops work in C++ im thinking of PHP (by mike12255)
loop to write a to z alphabetically using char
 
I'm trying to get a loop to write a to z alphabetically using char, but no matter what I try I get a...
[5 replies] Last: Or even? #include<iostream> using namespace std; int main() { f... (by andywestken)
DwmApi function doesn't work (says undeclared)
 
I want to use this function: HRESULT DwmGetColorizationColor(DWORD* pcrColorization, BOOL* pfOpaque...
[2 replies] Last: already done, all headers are #include <windows.h> #include <cstdlib> ... (by ViteXikora)
prime number checking program
 
So I'm trying to make a program that checks if the inputted number is prime. "a" is the inputted...
[1 reply] : Well, you're testing 81 for divisibility from 2 to 9. And it's divisib... (by andywestken)
Help for Algorithm
 
Hello! I need help to find the longest sublist from the same two lists. I came to the following algo...
[no replies]
HELP ASAP!!!
 
Suppose you own a soft drink distributorship that sells Coca-Cola(ID number 1), Pepsi (ID number 2),...
[3 replies] Last: Sorry the very late response. Thank you for the help so far but I am c... (by rduckett91)
[Broken Code, C++] Loop when input is larger than cstring
 
I'm trying to write the first part of a safe program that prompts the user to enter a file and verif...
[1 reply] : Function cin.getline (cFileName,MAX_SIZE); leaves the new line chara... (by vlad from moscow)
char inputName[80] = {'\0'}; What does this do?
 
char inputName = {'\0'}; i'm confused on what this line of code does. can someone explain?
[4 replies] Last: okay thank you so much! (by dritail)
by MikeJK
Adding libraries
 
Hello everyone! I've used this site for years, but I only now registered. The problem: I want...
[2 replies] Last: Thank you!! That works perfectly. I'll mark this as solved. Thank yo... (by MikeJK)
October 2012 Pages: 1... 3637383940... 84
  Archived months: [sep2012] [nov2012]

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