General C++ Programming - February 2008 (Page 3)

Clearscreen statement!
 
I was hunting the web for a command to clear the screen and I found one! It actually works too! I know it works in Linux but I don't know about windows. ...
[5 replies] Last: Absolutely. If you can deal with garbled output on some terminals. ... (by Duthomhas)
problems with fwrite on FPGA Power PC
 
Hi, I'm using an FPGA (Xilinx Virtex-II Pro) with a power pc core build inside. I want to write a huge number of data from this device to Matlab on a compute...
[1 reply] : This is probably due to stdout being a stream that operates in text mo... (by martinlb)
by EDB
Question about Switch Case Statement
 
What I have is a Switch Case where I allow the user to enter up to 7 characters to be processed. But they are free to enter fewer than 7, As it happens right no...
[3 replies] Last: yeah I took a closer look through some of my books and found out about... (by EDB)
by lovesn
C++ to SQL
 
Hello friends, for my college submission purpose I need to write some code (small project) which must be connected to ADBMS (I guess sql/oracle). Can help...
[1 reply] : http://tangentsoft.net/mysql++/doc/html/userman/tutorial.html#id284373... (by chiz)
what clear screen command that can be ported in linux?
 
Hi What clear screen command that can be ported in linux? I knew of a clear screen command but its not linux portable. I'm reffering to the "system("cls")". ...
[6 replies] Last: Look here: http://www.cplusplus.com/forum/general/428/ (by Geralds mod)
How to copy a binary file from a "input stream binary file"
 
Hi... i must make a copy file from a streaming input so i make two file: The first script copy from a straming file (from Redmon) to in a simple file and it w...
[5 replies] Last: Put this with your includes: #include <io.h> #include <fcntl.h>... (by dirk)
by loga
please tell me how this code works
 
could anyone tell me briefly how this code works?thank you.. // nonrec_t.spc -- test program for non-recursive filter design #include "tools.h" ...
[1 reply] : Is this from CSound? It appears to be two mathematical functions fo... (by Graham)
by Tman42
Flight Reservation Program
 
For a computer science class that I am taking, I am instructed to add on to the code that my instructor has written so that the user can make reservations using...
[3 replies] Last: With your new information, I have a theory... When you type yes at ... (by Graham)
linked list
 
Linked List In this program, you will implement a number of functions: 1. Insertion of a node to a linked list, by given criteria 2. Deletion of a node on a ...
[1 reply] : The list below is from a note pad file...saved as a3.txt. i 'm havi... (by kingpago78)
Problems using GTK+
 
Hi everyone, I've been taking up practice playing around with C++ lately, using Dev-C++ 4.9.9.2. And I reckoned I'd get some neat GUI in there, as well, so I...
[no replies]
by kaleem
question?
 
someone can tell me why we write the #include<?????>in start of program usually. why we don,t write it in any other part of source code?
[3 replies] Last: thanx alot duoas! i am new to programming would u please help me . c... (by kaleem)
how do u insert a new node using functions
 
guys im having problem with my C++ assignment. hoping you can help me. how do insert a new node containing a new information using a function, to add into a tex...
[2 replies] Last: Well, be simple here: Nodes are often used when talking about self ... (by Graham)
protected inheritance question
 
I have two classes: class A { protected: virtual void render() { /*render stuff*/ } }; class B: public A { protected: A *aInstance; virtual void rend...
[3 replies] Last: What I assume you're going for is the classic example of a screen rend... (by Graham)
by Salu
Iwant to print a matrix in this form
 
0 20 30 50 ......//These no is stored in an array a in a sorted form 0 0 10 30 ......//here 30-20,50-20,..... 0 0 0 20 ......//here 50-30,.......
[2 replies] Last: thanks for ur kind consideration I got the matrix (by Salu)
fstream - replace line?
 
hello, my head has been spinning around a way to do this. the best way to describe it would be with psudo code so... ReplaceLine (string file, string keyword...
[1 reply] : Just read line by line. Take a look at the getline() string function. ... (by Duthomhas)
Problem: static library linked with a dynamic library
 
Hey! I have created a dynamic library that is an application framework and I'm linking it with another project that is the actual application. However I'm ha...
[1 reply] : Let us see the actual commands you are using to compile and link each ... (by Duthomhas)
by PWWWWR
C++ Language Tutorial Needs Upgrade?
 
I've noticed several unknown techniques that the language tutorial doesn't cover that I still want to learn. Here are some: #pragma once //!??!?! Makin...
[1 reply] : This is a non-standard preprocessor directive that prevents a file fro... (by Duthomhas)
New to gaming.
 
Hello im Spike. And I've been teaching myself C++ for awhile but i would like to take the next step and move into graphic oriented things like games. Or really ...
[no replies]
by Lovee
Files
 
Can someone explain to me what is a header file with examples to understand it better
[3 replies] Last: About twelve posts down from this one there is one named "Question?" t... (by Duthomhas)
Help
 
Hello all, I am really desperate as I have to do one program using C++ language and I don’t know even how to begin so I will be very grateful if someone help ...
[4 replies] Last: Wow. That is one boring homeworky program. It literally makes me winc... (by dirk)
February 2008 Pages: 12345
  Archived months: [jan2008] [mar2008]

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