Beginners - April 2011 (Page 42)

by mta
Error C2065
 
Hi Guys: I am receiving error C2065. And I don't know what is happening.Could you please help me with this one. Thanks in advance. Here is my code: voi...
[9 replies] Last: I work with cmd and never have to do that: check the cmd on your compu... (by chucthanh)
variable or field `findAccount' declared void
 
I've been searching all over for this and I can't find a comparable example of this error occurring. It seems to pop up for a lot of reasons. It's a function, ...
[2 replies] Last: Thanks, I just guessed that was the problem but now I know why. I chan... (by rassilon256)
Increment realted to time span
 
I want to increment a value let say after 5 seconds. When a loop starts it should increment a number after every 5 seconds. Is it possible to do in C++ ?
[2 replies] Last: Thanks for reply dear (by mansoorazeem)
by IvanLi
questions on string in the class
 
i'm newbie in c++, so i expect some of the c++ expert to help me. i'm not familiar with string in c++ especially when using string in class the question i...
[5 replies] Last: oh, ya, thanks experts (by IvanLi)
by CStu
Need help with an airseat program
 
I am a beginner C++ student and I haven't been doing so well in my class.I was wondering if anyone here could help me possibly since my teacher recommended this...
[14 replies] Last: Congrats! You're welcome. (by closed account D80DSL3A)
Need help loading files with for loop into array with char*
 
Hi, Noob here. I'm writing a simple random audio player and attempting to load all of my files into an array from which a file will be randomly selected. Her...
[5 replies] Last: Try setting a breakpoint and stepping through with your code with a de... (by firedraco)
Random numbers without repition
 
I'm writing a program that requires an array of scrambled numbers that don't repeat when given a maximum value. I've been searching on the internet for hours a...
[18 replies] Last: Just wrote up a function that works perfectly. Thanks for the help ev... (by jakecodes)
[Linker Error] Preventing compilation
 
Hi all, I'm writing a program for my C++ class and keep getting a linker error stating that I have an undefined reference to a function I am using within the pr...
[3 replies] Last: Thanks Branflakes, I changed what you noticed and now it runs. I'm hav... (by zdcoombs)
compiler error declaring function
 
It must be time to enroll in remedial C++...I can't figure out what I'm doing wrong with this super-simple example. In main.cpp(): #include <iostream> #in...
[8 replies] Last: Ahhhhhhhh. Thanks so much, Disch. I guess that problem wasn't quite a... (by mzimmers)
Whats wrong with my code
 
#include <iostream> #include <cstdio> #include <cstdlib> using namespace std; int main (int nNumberofArgs, char* pszArgs ) { // This part will make...
[4 replies] Last: Alright man, I took some time and edited a bit in the program, It's mu... (by Codefreak101)
File includes
 
Hello everyone and thank you for reading. I'm currently making a text based game, and I'm trying to make the different location menus. I have tried many diff...
[10 replies] Last: Ok. Thank you guys for all of your help I'm gonna set the thread to so... (by Codefreak101)
Issue accessing files using dirent.h
 
I'm trying to read in every text file from a specified directory and perform some functions on each file. Problem is, I don't seem to be reading anything from t...
[no replies]
no matching function for call to getline
 
//******************** main.cpp ************************ #include <iostream> bool loop(); int main() { loop(); return 0; }...
[4 replies] Last: Btw, why does loop return a bool which is never used, and why does it ... (by firedraco)
C++ Books
 
# This is a modification of the original "Polymorphism is my Birthday ?" topic. # Moderators, feel free to move this to the lounge. # Old problem: Well, ...
[5 replies] Last: Sorry. But, It was acting strange. I saw errors in the compile log tha... (by benjelly)
by RebelX
Program help?
 
So the program I am currently working on keeps cutting off the first letter of the first name that is entered. It hasn't cut off any other letter from any othe...
[3 replies] Last: Thanks for the help. I figured out that the cin.get() right after my ... (by RebelX)
HTMLelement input?
 
Hello. Had HTML page that contain this input <input type="submit" value="Ok" class="button"> how to get the type member of this item? in Delphi this will be ...
[7 replies] Last: Thanks! (by newone455)
examples
 
anyone have an example of user inputing the size of array for struct?
[3 replies] Last: Dynamic allocation? If yes, is more or less this: int* _myVar = 0; /... (by andrezc)
Char into Strings beginner question
 
Hi all, Im just starting out learning C++ however i'm stuck/have a small question about strings and chars. for example I have two chars char* x char...
[2 replies] Last: Thank you very much! I was sure it could be done i was just not sure ... (by tomrayains)
by cth90
String gets split into separate strings
 
This program is supposed to accept a string and convert all lowercase letters to uppercase and then print them. The problem is that if i enter a sentence like ...
[2 replies] Last: Thank you very much. It works now. (by cth90)
Output File into Input File?
 
Hello, so I am about to create a program for a business. It will have a 2d array in it and I was wondering if you knew how to make it create an output file that...
[1 reply] : http://www.cplusplus.com/reference/iostream/fstream/ fstream provide... (by Computergeek01)
April 2011 Pages: 1... 4041424344... 55
  Archived months: [mar2011] [may2011]

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