Beginners - July 2009 (Page 8)

Working with File ini
 
Hello, I'm starting my study in C++. I want to know a library which I can work with ini files. This kind of file has been applied to my other projects an...
[4 replies] Last: The Wikipedia article lists everything you need to know -- including... (by Duthomhas)
Difference between abstract class and interface in C++
 
Hello, I encountered the following advice in "The C++ programming language" 3-th special edition, p325 12.6 . "Use abstract classes to focus on the provis...
[5 replies] Last: "Use abstract classes to focus on the provision of clean interfaces" ... (by jRaskell)
by Dave78
sockets libraries
 
Hi, I am trying to make a socket program but my compiler don't have the necesary libraries to start, I have a lot of information of how to do sockets but ...
[4 replies] Last: You need winsock.h and ws2_32.lib from the Platform SDK. (by kbw)
by bettie
printing hello world
 
how do i print "hello world" without using cout, or functions similar to it. I really have no clue. Pls help me.
[1 reply] : You mean something like this: http://www.cplusplus.com/forum/general/1... (by Bazzy)
by Cbick
Need some advice with C++ Assignment
 
Can anyone give me some advice I need to make the source code for Create a C++ console application that converts a time entered in minutes into either a hour/ ...
[2 replies] Last: As favor929 said, enumerations aren't really needed but if you say i... (by wmheric)
Reading files in folder
 
How do you read the files that are in the folder with the program in it? Ala, I have a folder where there are various binaries in it with the data, and I want ...
[2 replies] Last: Something like this? #include <windows.h> #include <iostream> ... (by favor929)
custom countdown using while
 
someone knows why this closes after i've inserted a number? #include <iostream> #include <limits> using namespace std; int main () { int n; cout ...
[9 replies] Last: See here for more about in_avail http://www.daniweb.com/forums/thre... (by Duthomhas)
File stream I/O basics
 
So in my program I have a text file that stores data as follows: Grant Chase 45.98 Checking Harry Truman 337.05 Savings etc... How exactly do I ...
[2 replies] Last: Sorry, I wanted to improve my chances of it being answered. Your link ... (by steinzfan)
by wretch
destructor for returned object called twice??
 
// Visual C++ Express 2008 #include <iostream> using namespace std; class myClass { public: myClass() : myInt(staticInt+=100) { printf("def...
[2 replies] Last: Argh... kicking myself, it's so obvious now that you say it, I got mix... (by wretch)
Searching through an array (with loops probably?)
 
Okay, so for my program, I need it to take input and put it into an array if the same thing string is not found within that array. For example: First input ...
[11 replies] Last: I need it to take input and put it into an array if the same thing ... (by CPlusFred)
creting new file extensions
 
Can we create a file with an entirely new file extension......like file.n...or any such customised extensions.........
[2 replies] Last: Extensions don't have any special meaning. They're just what's after t... (by helios)
arguments in the main()
 
int main(int argc, char *argv ) what these arguments......
[6 replies] Last: You make command-line options like foobar arg1 arg2 But the argume... (by wmheric)
Few simple questions regarding inheritance
 
Hello, let's assume we have the following class : class A { int a; protected: int b; public: int c; void testFunction(); } class ...
[4 replies] Last: Yes, of course. :) (by cppuser)
How to destroy a file.....
 
How can we destroy a file we created....
[1 reply] : http://www.cplusplus.com/reference/clibrary/cstdio/remove/ (by Bazzy)
Where to Start?
 
Ok I know you have probably heard this question a thousand times, but I have to ask, I know nothing about programming but I really want to learn, where is the b...
[4 replies] Last: I started with C/C++, but I would agree that it is probably better to ... (by firedraco)
reading, writing and displaying from input/output file
 
Hey guys. I'm having a little trouble with some code(obviously, lol). I've got the assignment just about complete, enough for a passing grade, but am stuck on t...
[2 replies] Last: Thanks for the link. I will check it out. (by fortycooper)
file.close() question
 
I have a short question: Lets say we have a part of code like this: int number; ifstream file; file.open("xxx.xxx"); file>>number; file.close(); ...
[1 reply] : If i would pass that line file.close(); will everything work fine? I ... (by helios)
How to output the highest number of an array
 
This is now sorted whooo
[5 replies] Last: Sure theres a way, but maybe it'd be better for you if you figured tha... (by Warnis)
by msn92
MFC Controls
 
Hi everybody. I want to dynamically create a control in a control. (MFC) Let's say I want to create several labels in the CChildView control at runtime. Ho...
[no replies]
Pointers to functions
 
Hey all, In my C++ class we are to create a function that will basically take in a function of any type and integrate it. I was wondering if anyone would be...
[4 replies] Last: I'm thinking that you aren't fully understanding the assignment. Can ... (by jsmith)
July 2009 Pages: 1... 678910... 20
  Archived months: [jun2009] [aug2009]

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