Beginners - July 2008 (Page 10)

problem with the last item of the file
 
This is a simple program that gets objects of a class and write them into a file. it can del(by a sign in the obj) and edit the objects of file. It works correc...
[1 reply] : Add a f.clear(); before lines 173 and 208. You are terminating the ... (by Duthomhas)
IP.....
 
Is it possible to make a programme that allows the user to send files to ppl through an open port. Also i guess ur gonna think im trying to hack someone but ...
[1 reply] : It is possibe. You have to use sockets. For Windows it is Winsock. A... (by Mitsakos)
by Jacob
Simple, quite long code.
 
Hello everybody, After reading some more about the tutorial, i started sketching some code for a simple game... I didnt want to go "TÓ" deep into this, but...
[3 replies] Last: Thanks for your comments that helped, the reason i didn't want to crea... (by Jacob)
beginners question
 
Hello , I just started programing with c++ , I'm learning it at home , it's kinda hard and I have a small task to do , I need to write a program to creat a mu...
[17 replies] Last: That is the C++ :-) cout allows you to 'string together' outputs onto... (by Faldrax)
Hex output
 
I am attempting to create a program that among other things reads in binary data and writes it in hex format to other (so that it is shown simply as 4B 56 0F, e...
[17 replies] Last: Don't feel bad. This isn't exactly beginner stuff. But it is simple en... (by Duthomhas)
by idle09
How to include a .h file?
 
Hi! I have written a Clas in C++ but my professor wants me to turn in .h file instead of the whole program and i don't know exactly how to do it. Can anyone sho...
[1 reply] : Typically you would code the above in 3 files. Customer.h would be ... (by Faldrax)
Array with variable dimension in class or structure
 
Amateur question: I have a structure: struct ActivePoint { int totq; int valc ; int level; double objval; bool integer; float allocate; ...
[4 replies] Last: Thanks very much! I protected everything now, apparently there was ... (by timovandon)
the return value
 
hi everybody. I'm newcomer to C++. I just wonder, if i get the output in this such of form.. "-1.#IND00000e+000", what this normally imply? Does this means tha...
[1 reply] : Could you give us some code? By the looks of it something's gone screw... (by arrrgh)
by Boman
Classes
 
Hi all, trying to write a class that deals with "complex" numbers for an assignment. Anyway, it's going poorly. I think if I can get this first bit I'll be abl...
[4 replies] Last: Thanks for the confirmation, after all it was given and it worked for ... (by Boman)
Begginner to C++
 
Hey, Im new to C++ and im having some problems... I dont know what to program in to what do I write the code in to??? im not new to programming and writing ...
[4 replies] Last: Better than microsoft's compiler. Prove it? @Jacob: The defaul... (by Zaita)
Networking Question C/C++
 
Hi all, I need to understand this point, so perhaps someone would be able to help. The following code: struct hostent { char* name; c...
[6 replies] Last: bnbertha/Zaita, Thanks for the help!!! (by ladesidude)
"modular programming"
 
Hi, I have a *large* C++ program, programmed very basically without a lot of C++ experience. Now I want to make it more modular. I am thinking kind of "pl...
[1 reply] : There is a good series of articles on Dr. Dobb's on a plug-in framewor... (by closed account z05DSL3A)
library iostream
 
Does anyone knows where I can get iostream.h, because I need the headers list.h and stack.h. When I compile with eMbedded C++ and include list and stack, he di...
[3 replies] Last: If your trying to code for an embedded system, you will need a compile... (by Zaita)
Optimizer
 
how can i optimize a Borland C++ program? Thanks
[4 replies] Last: write better code. (by Zaita)
GOT PROBLEN USING DEV C++
 
HI M GETTING A PROBLEM IN A C++ PROGRAMME IN DEV C++ COZ M USING IT FIRST TIME I MADE A SIMPLE PROGRAMME WHICH IS #include<iostream> using namespace std; ...
[5 replies] Last: After typing in your code. Just press "Enter" a couple of time. (by LacViet)
problem with continue
 
I am getting confused in the usage of 'continue'. If anyone can explain it with an example
[2 replies] Last: Thanks for the help With Regards, Matanuragi (by matanuragi)
Election Program And Arrays Problems
 
Ok So i got a program and i need help with the arrays in it i need the output to look like this candidate votes recieved %votes jon 50 ...
[2 replies] Last: Correct. The only thing you need to watch out for, though, is the pre... (by jrohde)
Any tutors?
 
Out there for C++? This online course in it is kicking my *** right now.....
[7 replies] Last: thanks! I do appreciate it. I have more code now trying to work on ... (by dancer52)
how to get current day, month and year ?
 
hi .. I want to get the current day month and year ,, separately,, and as integers I mean.. I want month to be assigned to an integer >> also the year and th...
[1 reply] : http://www.boost.org/doc/libs/1_35_0/doc/html/date_time.html Boost ... (by Zaita)
by ikth
Using a class template/virtual functions
 
Here is my situation. I'm currently trying to get a better understanding of graphics, more specifically particles systems, for my intro to graphics course. Unfo...
[2 replies] Last: Thanks for the help Faldrax. Ok so I might be able to ignore the fact ... (by ikth)
July 2008 Pages: 1... 89101112... 15
  Archived months: [jun2008] [aug2008]

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