Beginners - November 2008 (Page 13)

Please explain in a line or two
 
why are ! & % used in c++?
[3 replies] Last: ok as far as i know ! or known as NOT inverts a result of an expressio... (by DarkGecko78)
Sounds and a GUI
 
I was wondering if anyone knew how to make a simple GUI that had a button (made from a PNG) that started a timer. I was also wondering if anyone knew how to mak...
[3 replies] Last: But it also runs through the entire program at once. (by Console)
by ferret
Pointer and string trouble on programing assignments from my CSCI class.
 
I have a few programing assignments from my CSCI class that have been giving me a lot of trouble. I would be much obliged if someone can point me in the right d...
[6 replies] Last: I've only been studying C++ for two weeks now and haven't had the oppo... (by Llylon)
by Ray
"stdafx.h"
 
I am running my programs through Microsoft Visual C++ 2008 express edition. Every time I try to run a program on every program it asks me for stdafx.h does anyo...
[2 replies] Last: Bazzy I think the reason I was getting that error is because behind ev... (by Ray)
by Ray
Will not build without errors
 
Can anyone help me to find out why this program does not build without errors? ///*specification: Raymond Henry Sr Lab2 exercise 1 //"Pen Pricing" #incl...
[3 replies] Last: I figured it out. But simply thunder thank you so much you led me to t... (by Ray)
Parsing problem about yes / no
 
hello, i need help about parsing, can you please help, about making a yes / no question, but using parsing... thx for all the help...
[1 reply] : http://www.cplusplus.com/forum/articles/1295/ (by Zaita)
two dimensional arrays in a class
 
Hi. First, I want to create a two dimensional array. It is 50 rows by 2 columns. The first column contains an ID #: 1, 2, 3, 4,...50 The second column con...
[15 replies] Last: If you are only going to associate two values, I would not use a 2D ar... (by seymore15074)
Problem with fstream. File will not save Data.
 
#include <iostream> #include <iomanip> #include <string> #include <string> #include <sstream> #include <fstream> using namespace std; struct ClientI...
[2 replies] Last: thanks (by Prada8787)
Troubleshooting edittext
 
Does someone have an idea about why this crashes with error -1073741819 (0xC0000005) when I uncomment the code in bold? I'm using microsoft wisual c++ 6.0...
[no replies]
The series
 
well i was trying to write a program to work out this series 72, ,34,25, ,85, ,145 will u tell me how this series is progressing????
[no replies]
Convert 4 little-endian chars to 1 int.
 
I want to convert 4 chars stored in little-endian format on a file to one integer. I do it this way: n = c + c * 256 + c * 65536 + c * 16777216; ...
[4 replies] Last: Awesome! Now I understand why we don't need the Little to Big-endian c... (by quintellarosa)
Broken example for streambuf::in_avail
 
Hi, When running the example specified under http://www.cplusplus.com/reference/iostream/streambuf/in_avail.html (Example is included below.) I don't get ...
[no replies]
I'm having Linking Problems.
 
error LNK2019: unresolved external symbol "void __cdecl PrintData(class std::basic_ofstream<char,struct std::char_traits<char> > &,struct ClientInfo * const)" ...
[2 replies] Last: i figured it out thanks (by Prada8787)
by Inebas
Using a pointer to track a 2D matrix
 
Hi guys, I'm given an assignment to identify numbers in an image with a PGM format. I was given an image class that puts that image values in a 2D array. I'm...
[3 replies] Last: Yes, although you can't do: int ptr; &ptr = search(image, &ptr); ... (by firedraco)
by chopo
Pass istream& object into function
 
Hi, I have a program that imports data from a file input.txt. The file is very long and not all the data is needed. I what to write a function getData() t...
[5 replies] Last: I do apologies it turns out that it is possible to pass an ifstream in... (by chopo)
by Timbo1
Allegro
 
Can somebody tell me how to install alegro and where to get it from. I am using MVC++ 2008 Express edition Please help
[no replies]
Formatting Text
 
we have to read text from an input file and format it by putting so many characters on a line (keeping words together). my problem is that my program counts a s...
[no replies]
Multiple string search
 
I have problem as following: my program is supposed to read its adress book. The book is string table - string book . I want to let the user search it by fir...
[3 replies] Last: Thank you for your help :) (by Pethrenne)
Can someone correct this please
 
hi everyone this is my first post and i need help.i want to check the accountable reading and multiply it with 0.4 #include<iostream.h> #include<conio.h> vo...
[1 reply] : Mistake is here: {for (int x<=100) bill=x*0.4; cout<<bill<<endl;} ... (by Karql)
by Kunal
which book to study ?
 
hi, i am Kunal. i am new to c++ programming. i have learned c++ language but i m not very satisfied with my knowledge. i want to be perfect in this language, es...
[2 replies] Last: Effective C++ by Scott Meyers is a short book with a lot of helpful ti... (by seymore15074)
November 2008 Pages: 1... 1112131415... 19
  Archived months: [oct2008] [dec2008]

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