General C++ Programming - June 2008 (Page 6)

text file processing
 
Hi all, I really need some help from you guys.. I have a problem here, I have to make a program , which process text file in sequential way. Data from fil...
[4 replies] Last: Thanks, Instead of get.line I have to read in.txt file symbol by sy... (by bti2946)
Conflicting libraries when linking
 
I have the following situation I am using dxguid.lib and Strmiids.lib and both have the same definitions in them. dxguid.lib(dxguid.obj) : error LNK2005: ...
[1 reply] : Heh, I think you are SOL. If you can include one of them as a DLL t... (by Duthomhas)
Confuse abt token!!
 
****stackarr.cpp**** #include "stackar.h" #include "fatal.h" #include <stdlib.h> #define EmptyTOS ( -1 ) #define ...
[1 reply] : Ok, please use code tags. (I had to copy and paste and format so my po... (by Duthomhas)
Solution required urgently
 
I have a problem to write a code in C/C++ that will count: 1.No. of tokens 2.No. of diff identifiers 3.No. of Blocked codes 4.No. of weighted blocked codes ...
[5 replies] Last: Hmm, well, if a token's class is identifiable by its initial letter (a... (by Duthomhas)
Questions about operator[]
 
Hi,guys; This is an exemple of chapter 11 section 8, Subscripting,The C++ Program Language Special Edition, #include <iostream> #include <iterator> #...
[4 replies] Last: :) haaa. Thanks dwk! I found the problem at the same time! ... (by toptony)
private static object initialization, ld errors
 
Hello, I'm working on a shared stack which can be globally locked by any instance as per an exercise in an old textbook. The problem I am facing is in the push...
[2 replies] Last: Thanks, that seems to have done the trick. I added a stack<char> ... (by hajusrex)
by Fry
Class father has no member
 
Hi all, I'm working on a project and i have to do 3 simple classes but I have this problem: #include <stdio.h> #include <stdlib.h> #include <iostream>...
[2 replies] Last: It works !! Thanks a lot !! (by Fry)
by Vatrox
Small program I can't get to work
 
#include <iostream> using namespace std; //introduces namespace std class Account { private: int acctNumber; string acctName; double acctBal; ...
[11 replies] Last: No worries :) (by Zaita)
card images in C++ video poker
 
How can you program card images in video poker using C++ codes? I want the cards to be colored. Thanks a lot!
[1 reply] : This is for a console application? (by Zaita)
Recursion Functions
 
#include<iostream>//Writing a recursive function that takes the number to the power. using namespace std; typedef unsigned short int ushort; typedef unsi...
[7 replies] Last: Faldrax, Thank you very much. I understand this clearly now. So in... (by Dean007)
Problem with filling 2D Vector Array
 
Hi guys, I have been having trouble initialising a 2D vector. I'm trying to fill the vector with a text.txt file which has the following format. 12543 1...
[7 replies] Last: ΓΏ is possibly an end of file marker. seeing as it appears at the end ... (by mattman059)
by zac
Implementation problems with template classes and iterators?
 
Hi, I am coding a little tree-container-class. It is using list and vector to store the nodes and the data in. Now, there is a template class nodeInfo<class T...
[6 replies] Last: It is okay ;). Thanks to you for your fast explanation...^^ Just forgo... (by zac)
by Aymie
class inheritance
 
Hello, My problem is I think mainly a design one. I have a node structure : struct Node : public HashTable::Node { /** Random variables and functions ...
[1 reply] : If you are inheriting from StateStorage to create ActionStateStorage t... (by Zaita)
by Giamma
Load raw images
 
Hi to all I am writing a program in c++ in which i load an interleaved raw image with 8 bit RGB. The problem is the loading, in fact i thought to load it in ...
[5 replies] Last: It is easy to get a contiguous block of memory that you can access wit... (by Duthomhas)
text based game
 
hi i am trying to make a tex based game in C++. the way i was planning to do this was using the following sort of method: #include <iostream> #include <str...
[7 replies] Last: Heh heh heh, your first foray into the wonders of C syntactical flexib... (by Duthomhas)
by dog57
code for a cd collection for school
 
Please Help Me...I have no idea how to do this and it is due by June 12 Graded Project 4: Catalog Your CD Collection Create a program that allows users t...
[1 reply] : Well, this assignment is so well structured that you only have to f... (by int main)
by Gazi
How can I do computer supposed pressed enter ?
 
My question is about c++ I am trying do a system program. in this program the user can format his disks and another things... but when I use system code ...
[3 replies] Last: Duas thanks TheNapster thanks too I will not use it for evil things. ... (by Gazi)
Pointer
 
hi. lets say i have a variable arrayPointer that points to a float array float* arrayPointer; and given the declaration float velocity ; how can i ...
[1 reply] : They both mean the exact same thing. (by Duthomhas)
June 2008 Pages: 1... 456
  Archived months: [may2008] [jul2008]

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