Beginners - April 2009 (Page 7)

Accessing a 2D char array via a pointer in C
 
Hello guys. I have a question about the pointer to a 2D char array. I have a 2D char array char david ; some items were inserted and there are still ...
[6 replies] Last: &david; is equivalent to char ***david !!! it will make it... (by writetonsharma)
storing a file into array of structure
 
Hello guys I did this program but as you can imagine i doesn't work properly, well indeed it doesn't work.. what i'm trying to do is to store a file into an ...
[no replies]
by Tripic
Arrays for Dummies
 
Ok i think i understand the basics of arrays but im trying to figure out a way to use an array to read a csv file separate the values then send them back random...
[1 reply] : Arrays 101: avoiding arrays: how to use vectors. Arrays 201: all the ... (by PanGalactic)
I'm a beginner,Any sugestion in solving this progra mm(c++)
 
The memory game is a game played with 10 cards , each placed face down. Each card belongs to one of the suites diamonds, clubs, spades or hearts. Each car...
[6 replies] Last: That's what your supposed to do. :) (by eker676)
by jdub
Reading files from a directory
 
Hi, I'm trying to read files from a directory and process them, but when I run my program, I get the following error message: terminate called after throwing...
[2 replies] Last: It works! Thanks so much for your help :) (by jdub)
by Tripic
Output problem ?
 
Ok the following code is supposedc to open a csv file read it then use cout to print the game type and file name for each file void Clist() { string tr...
[no replies]
From the Textbook
 
What does this code do? Exercise: //Exercise 8.14 WDTCD #include <iostream> #include <cmath> #include <iomanip> using namespace std; int main() { ...
[2 replies] Last: Can you tell I am getting ready for finals? (by wapitig8r)
by L J
Problem with MCI
 
I have a source: ////////////////////////////////////////////////////////////// #include <vfw.h> (...) static HWND hwndMCI; HINSTANCE hThisInstance; (...)...
[no replies]
by jayt
how to use recursion on this program.
 
I have made a very simple program and I am trying to make it more complex. Can someone please tell me how to do this program by recursion and input should be n...
[12 replies] Last: Thank you All of you Guys !! (by jayt)
Syntax Errors URGENT FOR FINALS
 
Desperately need help with this for finals! Instructor says my code is correct, but I get Syntax Errors. Please help! Also, does anyone know of a "syntax err...
[15 replies] Last: Thanks everyone for your help so far I wish I had found this at the be... (by wapitig8r)
Sample code for GetPrivateProfileString()
 
I am trying to read data from an ini file. I have read the MSDN website regarding this function, but I don't have the slightest idea on how to implement it. ...
[5 replies] Last: http://www.codeproject.com/KB/cpp/IniReader.aspx That's what I was ... (by closed account S6k9GNh0)
16-bit representation
 
I gone over my note and look in my book and I can not find the answer on this. bias for the exponent in 16-bit representation? I googled this and it i...
[4 replies] Last: http://en.wikipedia.org/wiki/Floating_point#Internal_representation (by Gumbercules)
by um0123
C++ with graphics?
 
i know its really hard to make a C++ code have graphics, but if its so hard, why do all the major game companies use it as there primary code? and what is the e...
[7 replies] Last: It's even trivial on Windows (Win32 api or DX) Don't say that program... (by Bazzy)
getch();?
 
can anyone tell me what getch(); does? and do i need to include another header aside from <iostream> to use it?
[10 replies] Last: And I checked a site... It seems there is something similar in linux t... (by Cojones)
Password program errors
 
I need to write a password program in c++ that has the user make a password and i need to check for the following limitations. Must be 5-12 characters long. m...
[1 reply] : Hi infuser21, vector<char> password; is a local variable, so... (by kevinchkin)
by Cin
Cannot read input file correctly with fscanf...
 
Hi, I'm trying to check if the code scans correctly the data from the input file, which is like this... 1 1 1723 1 2 1 1 4 2158 4 27 2 1 1 1567 1 7 1 1 1 ...
[6 replies] Last: Well... finally I found out what was the problem... Simply, the cod... (by Cin)
I am new, need a partner!
 
Hey, I have never done any of this, read a few tutorials and want someone to add to skype, aim, msn. So they can help teach me/program with. I run on a mac, ...
[2 replies] Last: take books, start programming.. leran simple to advanced things. like... (by writetonsharma)
Pointer Question (1,2)
 
I have a question concerning pointers. If the program user inputs the phrase: Cplusplus is awesome How do I make my program output: sulpsulpC si emo...
[22 replies] Last: there you go kevinchkin (by satchmo05)
Nested For Loops
 
Hi i have the following question to answer: Write a C++ program with a nested loop structure that displays the following pyramid in "*". here 's' is just...
[15 replies] Last: to do a diamond shape you could just do it that same way, but toss in ... (by daeiros)
Public/Private Classes, explanation please in context!
 
I'm making a car sale program, and we are asked to have many different components in the calculation of the final price. the public stuff make sense, but can so...
[8 replies] Last: small suggestion, your code says if input is y, do the yes stuff, othe... (by daeiros)
April 2009 Pages: 1... 56789... 28
  Archived months: [mar2009] [may2009]

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