Beginners - May 2009 (Page 2)

by vivmen
operator overloading
 
hi all i have read that we can't overload some operators like si...
[1 reply] : sizeof returns the size of a data type in bytes so you can't overload ... (by Bazzy)
outputting in binary
 
I' putting together a program that compresses the frequencies of a Huffman code into binary but am u...
[3 replies] Last: > it's probably best to read the data section a single byte at a time ... (by Duthomhas)
by newguy
Multiple Data members in header file?
 
I am taking my first programming course online at FSU, so I don't have any real help outside of my b...
[1 reply] : This site has good tutorial that I think explains the basics really we... (by firedraco)
by GameOn
time limit exceeding
 
during 1 of code need to break a string in tokens and i simply use this code vector<string> name...
[4 replies] Last: dude you are just too good xoxox heartly thanks for your efforts :) (by GameOn)
class
 
how to create class for processing large numbers of natural???? ---I found a code on the internet b...
[1 reply] : http://en.wikipedia.org/wiki/Arbitrary-precision_arithmetic (by Hammurabi)
by cmbirk
Creating Executables (.exe)
 
How can I create a .exe file using C++ source code? I want to be able to write a program and simply...
[8 replies] Last: You can use the OS to find the executable. From the command prompt in ... (by Duthomhas)
Testing two macros for equality
 
How would I test two macros for equality? For example: #include <another_file.h> #define REQUIR...
[2 replies] Last: OK, I'll try that. (by user name)
getline issue for opening files
 
I am trying to write a very simple program that writes text to a file, and i have searched everywher...
[4 replies] Last: This is annoying. Every time I see a question I can actually answer, i... (by chrisname)
problem with writing an array to a file
 
hello I want to write a 2d array to a text file just for testing. when my loop is not larger than ...
[7 replies] Last: Thanks alot (by aliamini25)
Accessing a database with C/++
 
As I've come to understand, a database is nothing more than a regular text file storing values in a ...
[3 replies] Last: Sorry I never got back to you guys on this. Thanks for the information... (by closed account S6k9GNh0)
by cantog
Difficulties with understanding linked list
 
Hi, I'm trying to understand a linked list example, but get confused by the syntax. Can someone p...
[1 reply] : The ptr_to_struct->member syntax is a shorthand for (*ptr_to_struct... (by Duthomhas)
Changing classes
 
Hey all, int main() { Casual::Casual(001, "Jerry Seinfeld", 250, 40); StaffMember* SM1 ...
[1 reply] : Tell me...where did you declare *cp? You can't create an object like t... (by QWERTYman)
tryThis
 
I got an assignment for class that I cannot figure out. Try it out. Let me know In an ancient lan...
[4 replies] Last: I got an assignment for class that I cannot figure out. Maybe tha... (by closed account z05DSL3A)
by fei23
paradigm C++ problem
 
Hi hi,I have problem with my project, whenever I try to connect from the laptop to Tern 386 IE-M Con...
[no replies]
char to int conversion
 
I know you can use atoi() to convert a char to int but what happens if you are using a char array so...
[10 replies] Last: http://www.cplusplus.com/reference/iostream/stringstream/ http://www.... (by closed account z05DSL3A)
.TXT file output
 
Hey How do you output 5 random lines of text from a .txt file on C++ ? Thanks
[2 replies] Last: umm well im just gonna wing this cause ive never done it before, se... (by jloundy)
get and getline functions
 
Hi there ! I have one question about these functions: - istream& get ( char* s, streamsize n, ch...
[1 reply] : use getline from <string> so you won't have problem with sizes: st... (by Bazzy)
adding numbers(integers) from a .txt file
 
Hey guys How do you add numbers(integers) from a .txt file and then output it on C++. Note: ea...
[2 replies] Last: im not repeating anymore answers about fstream, i have probably copy &... (by jloundy)
2D array problem
 
Hello! I'm pretty new to this and I'm having some trouble creating a gradebook. after asking for st...
[3 replies] Last: dont know what you have going on in the that mess, i too dont understa... (by jloundy)
[Solved] Problem with list
 
Hello, I have very strange problem. My code looks as follows: //#include "zawodnik.h" #include "g...
[6 replies] Last: Thank You very much. That was so lame.... Stupid "copy & paste" common... (by nieziemski)
May 2009 Pages: 1234... 21
  Archived months: [apr2009] [jun2009]

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