Beginners - October 2012 (Page 66)

hello guys ..... can any body help me???
 
I have a project on visual C++ and i got some errors in my program I need your help my Code is.... // Day10Doc.h : interface of the CDay10Doc class // //...
[2 replies] Last: here where CLine is Declared..... // Line.cpp: implementation of the ... (by Abo3odai)
i want to know how to jump in into microprogramming
 
I am C++ ,PHP/MYSQL i am a bit confused at this moment how to apply my knowledge in the industries i have write some applications like contact manager, inventor...
[2 replies] Last: Can you tell use your understanding of 'microprogramming'? "Althoug... (by closed account z05DSL3A)
Input/Output help
 
I am at a point that I have no idea what to do. See my code below. The program will not open my mail.dat file that I am supposed to use to get the output of jus...
[1 reply] : if you do this: inData.open("mail.dat"); you're trying to open tha... (by coder777)
[WinSock] Connect to IP?
 
I've been trying to do this app today, but without much luck, in this app you can basically host or connect to someone else (p2p chat) but unfortunatelly I can ...
[10 replies] Last: for WSAAsyncGetHostByAddr read this: http://msdn.microsoft.com/en-us/... (by coder777)
Generating Random Numbers, weird error code
 
#include <iostream> #include <cstdlib> #include <ctime> #include <cstdio> using namespace std; //int dice = {0}; int n,i; int main() { //boo...
[2 replies] Last: Thank you! That fixed it. (by FireNutz)
ATM Machine
 
Can someone look over my code. I'm sure that this will work but it was my best shot. I'm getting errors. lines 157 - 161: error: expected primary expression l...
[4 replies] Last: @dragonfly22 move while (TransAns == 'y' || TransAns == 'Y') ... (by whitenite1)
by Ch1156
How to open files that arent txt files?
 
Ok so i want to be able to read a text document that has a different extension like an open office document, it has the extension .odt or something like that. W...
[2 replies] Last: these files cannot be opened in odinary ways .open them in binary mode... (by Pter0dactyl)
Scope error
 
Using a .h and .cpp file The .h file is this one and is building fine #ifndef STATKEEPER_H_ #define STATKEEPER_H_ // Class StatKeeper : creates a c...
[2 replies] Last: I would just like to point out that it is also very helpful if you use... (by Endl3ss)
Newb Array
 
I'm in an online "intro" to programming class, and for my assignments my prof. gives us the psuedocode and then expects us to convert it to c++ statements. He d...
[1 reply] : try the following 1) Replace line no. 58 with :- for(int i==0; cou... (by Pter0dactyl)
Can anyone tell me why this isn't the right answer?
 
double x = sqrt(2); double y = 2; if (x * x == y) { cout << x; } else { cout << yl } I thought the answer was sqrt(2) but apparently it's 2. Anyone know why...
[1 reply] : double x = sqrt(2); double y = 2; if (x * x == y) floating points a... (by Disch)
"Expected" Errors
 
can someone please help me out??? I don't know where to look in order to fix these 3 errors all on line 170 (line for return0;) : expected while before numer...
[2 replies] Last: thank you very much! That is actually what I wanted it to do. I get so... (by dragonfly22)
Extracting words from a datafile
 
Hello, I am fairly new to programming and in class we are making a hangman game as a semester long project. Previously we had to use a word from a data fil...
[2 replies] Last: awesome man! thanks for your help (by eponder)
having a cin >> Username error
 
fairly new to C++ and still running into errors here and there. heres my latest error. string Username; cout << "Choose your username!"; ...
[3 replies] Last: Your welcome. And in this instance, string Username; cout << "Choos... (by TheJJJunk)
by ND04
NEW to arrays
 
I just had an array lesson with my professor but still sort of clueless on one of his assignment by using calling function of array. Some helps for hints would ...
[4 replies] Last: I had the explanation on the <cstdlib> and my professor also allowed m... (by ND04)
Uintvar character input as hex to a decimal integer
 
Hi all. So I'm very new to C++ as I've been coding in Java for the length of my programming career and only just started on C++ recently. I've been tasked wit...
[18 replies] Last: well, when i run the code, i get ff0000: 2080768 ff00: 16256 but th... (by magic magic)
Reading in CSV file
 
I am running into problems reading in a csv file. These are the errors that I am getting $ g++ -Wall -o Summary2 Summary2.cpp Summary2.cpp: In function `int...
[3 replies] Last: Ok I have been playing around with stringstream and istringstream and ... (by asavage)
Structs and Arrays
 
This project for school is focused on using structs and arrays. I have to make the game "spades" using structs and arrays in my code. Right now I'm trying to cr...
[16 replies] Last: Um, thanks? Fixed, but didn't really help anything. :/ Thanks for yo... (by LadyDustBunny)
by G3PO
First Program Start.
 
I've been trying to do this program for a few hours now, I've tried googling parts, asking classmates, and trial and error, and I'm just not understanding how t...
[1 reply] : See http://www.cplusplus.com/forum/beginner/81132/ (by TheJJJunk)
desk check program help
 
I am beginner in programing and i need some help plz i dont know how to do the desk check program;so far i have done the desk check algorithm and need he...
[1 reply] : is it the same table just the labels should match those in the cod... (by clavier)
help with making files and putting them together
 
So I have this as an assignment this week and I need some help Assignment 7, multiple files Attached Files: assignment7.cpp (232 B) (don't forget to creat...
[1 reply] : a .h file is a header file. Your class definition (your private data... (by TheJJJunk)
October 2012 Pages: 1... 6465666768... 84
  Archived months: [sep2012] [nov2012]

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