Beginners - October 2008 (Page 16)

by Drevil
Opening files
 
Hi, im completely new in C++ world, and I only know how to make most simple program, but I would like to make a programm, that could open another program (in ...
[no replies]
change content of binary file
 
Hi Friends, I know this question would be answered many times, but I am not able to find its solution. Please help me,,, So, the problem is my program is wr...
[no replies]
by Roads
tut on void pointers
 
I'm having a real hard time understanding this. What I think I do understand is that the program is passing the address of "a" and "1" to the function "increas...
[12 replies] Last: Years ago I worked extensively with DBase, FoxPro and some Oracle. I ... (by Roads)
If/Then errors...
 
Hello everyone. I've been looking for quite some time for a solution, and can't quite come up with anything. Yes, this is homework. I've solved the problem ...
[8 replies] Last: ;> come on ,guy (by phikaa)
tryint to get rid of a virus
 
me and some friends know not much about c++ but we are trying to use it to make a program to get rid off a virus. the plan is we need to terminate the viruse...
[6 replies] Last: to Zaita: 30%- of viruses show up in the process list now~^_^ more &... (by phikaa)
Negative Exponents
 
I am working on a program with a formula that requires a negative exponent and I cannot figure out how to represent a negative exponent in the equation. P = ...
[2 replies] Last: Well that's because in C++ the ^ is the bitwise xor operator...you wil... (by firedraco)
using multiple objects
 
I'm trying to insert numbers into different objects, I'm allocating an array for the number to be inserted, after its inserted the bool will be set to "true" ...
[no replies]
"srand", "rand()%10" and clean screen
 
How I should use them? Found on the site the srand an rand functions. And how I can clear the screen? (I need of this to make my text based game...) ...
[4 replies] Last: cout << string (100, '/n') , correct? (by HeatMan)
g++ compiler
 
plz somebody give me a link for downloading g++ compiler to use with windows? thx.
[2 replies] Last: I tend to prefer MSYS over Cygwin, just because it produces native Win... (by Duthomhas)
by gAaRa
Opening files in binary mode
 
When should we consider opening files in binary mode ?
[1 reply] : The only difference, really, between binary and text mode files is aut... (by Duthomhas)
guess a random number (I'm having trouble with loops)
 
Hey in my beginners C++ class we have to create a programs that generates a random number and the user needs to guess the number. Heres the assignment:- N...
[1 reply] : In the above code you always calculate the random-number anew by calli... (by int main)
by Hazer
Text editor
 
Hi, i'm making very simple text editor. It can open, edit and save plain text documents. I almost made main functions that i need but i have no idea how make t...
[5 replies] Last: I didn't mean you to copy&paste the code and it's too simple to be use... (by jmc)
Socket initialisation code lines
 
Hi volks, Could anyone tell me what does every line mean and why it has to be used? The only thing I know that it is about socket programming :) addr_....
[3 replies] Last: Thanks!!!! That's really helpfull :) (by Daniel A)
by Umz
Array of functions?
 
Is it actually possible to create an array of functions. I've looked around and tried different methods but none of them seem to work. Stuff like: fn (); ...
[5 replies] Last: Its plausible as long as it works, its true they are pointers but I wa... (by Umz)
C++ Patterns
 
I'm having trouble creating a program to make the two patterns below. I have to make a case statement to allow the user to select which pattern and then have t...
[1 reply] : Just do something like this guy: http://www.cplusplus.com/forum/begin... (by Umz)
by mrcpp
strange error - error C2061: syntax error : identifier 'software'
 
I really need help here with a strange error: The function with main is this one: #include <iostream> #include <list> #include <string> #include "Reco...
[2 replies] Last: I certainly can't figure it out from the info given. Can you post som... (by guestgulkan)
Patterns in C++
 
I have just started a short C++ course and gotten stuck in the creation of the pattern shown below which is a right angle triangle of dots within a rectangle of...
[4 replies] Last: I doubt it would be considered bad coding, since there seems to be no ... (by Poke386)
by broady
STL vector question
 
Hello guys, i am new in this forum. Suppose i have a class Vertex and a std::vector<A*> v contained in a Mesh object: I have to build a method where i sea...
[1 reply] : Is there a particular reason why you are storing pointers to the verti... (by Faldrax)
by cepaoz
?How to save load file -- obj of class
 
How to save and load file bin,txt,etc What can i do case : Save file ? case : Load file ? p.s - use vector to save and load data - data is 3 c...
[1 reply] : See http://www.cplusplus.com/doc/tutorial/files.html for an overview o... (by Faldrax)
by erico
My progam doesn't output some values to the selected file
 
I'm supposed to write a code that reads data from a file, "fines.dat", then output data which has fines exceeding 500 to a file, "Topfines.dat". The problem it ...
[1 reply] : You havent given the format of the data in the "fines.dat" file, but t... (by Faldrax)
October 2008 Pages: 1... 1415161718... 20
  Archived months: [sep2008] [nov2008]

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