Forum: C++
03-11-2011, 07:03 AM
|
|
Replies: 0
Views: 352
Reading a matrix from a file
Hello guys, Firstly I want to apologize If I ask something silly, but I have just started learning C++, and I really don't know much. As a practice I have a challenge of writing a matrix in a file,...
|
Forum: C++
03-11-2011, 07:03 AM
|
|
Replies: 0
Views: 325
How to find length of sub-array
Here is my piece of code: <div class="codeblock"> C++ Syntax (Toggle Plain Text (http://www.domainnameforum.org/#))
<div id="code1960057573_1"><ol><li class="li1">
|
Forum: C++
03-11-2011, 07:03 AM
|
|
Replies: 0
Views: 290
SDL_ttf linux problem
Hey, I am starting to work with SDL and I had it all set up correctly etc. The thing that does not seem to be working correctly is the SDL_ttf. Now, As far as I am aware, linux builds don't use...
|
Forum: C++
03-11-2011, 07:03 AM
|
|
Replies: 0
Views: 365
doubt in templates
What's wrong with this code.... //templates #include using namespace std; template t max (t w,t x) *--->here i get no error if I use &w and &x in place of w and x...*{
|
Forum: C++
03-11-2011, 07:03 AM
|
|
Replies: 0
Views: 311
|
Forum: C++
03-11-2011, 07:03 AM
|
|
Replies: 0
Views: 283
get client's screen size
<div class="codeblock"> C++ Syntax (Toggle Plain Text (http://www.domainnameforum.org/#))
<div id="code847287077_1"><ol><li class="li1"><div class="de1">Rectangle ^ClientResolution...
|
Forum: C++
03-11-2011, 07:03 AM
|
|
Replies: 0
Views: 296
FDF options to change PDF appearance
Hi All. I have developed a cgi script in C/C++ to dynamically create PDF forms with data filled in from an Oracle database. To do this I used PDFlib (version 7.0.1). The submit button on the form...
|
Forum: C++
03-11-2011, 07:03 AM
|
|
Replies: 0
Views: 314
compling problem with my maze
Hi whenever I compile my program, I am getting this as a a error. well.cpp: In function âvoid printmaze(CELL (*)[20], std::string)â: well.cpp:234: error: a function-definition is not allowed here...
|
Forum: C++
03-11-2011, 07:03 AM
|
|
Replies: 0
Views: 342
A Book For Advanced Concepts Of C++
I would like to be able convert one format to another(not immediately but eventually),know how to use tree and hash tables and linked lists properly using classes. I want to be able to do a basic...
|
Forum: C++
03-11-2011, 07:03 AM
|
|
Replies: 0
Views: 290
Advice on how to implement a header file
Hello I need some help as to the limitations or flexibility of header files. I have written a code that updates a base folder when it is compared to its newer version. I have hit on a roadblock...
|
Forum: C++
03-11-2011, 07:03 AM
|
|
Replies: 0
Views: 485
problem with strcmp
I have a little problem with strcmp here,the following code basically opens a file and writes to it until I enter "\esc",at which point the program should stop....but the problem is,it does not,and I...
|
Forum: C++
03-11-2011, 07:03 AM
|
|
Replies: 0
Views: 1,363
Rock, Scissors & Paper game
Hi everybody, i cant seem to make my program to pass the first user input. I know i have to put it inside a do while loop, but everyone of my attempts results in an infinite loop. I'm also aware that...
|
Forum: C
03-11-2011, 07:03 AM
|
|
Replies: 0
Views: 2,719
left operand must be l-value ?
so, im trying to setup a rule that would "update" lower array indexes with higher ones if the array is full and something needs to be stored ex( imgSet[x]=imgSet [ x + 1])) but I get ''* error C2106:...
|
Forum: C
03-11-2011, 07:03 AM
|
|
Replies: 0
Views: 575
array initialized to 0 has values???
So yeh, I'm kind of new to c :). So, as far as I know, and array initialized to 0 will stay at 0 unless something is stored by some other function or command. so I have and array here(imgSet) that...
|
Forum: C
03-11-2011, 07:03 AM
|
|
Replies: 0
Views: 560
anti virus development guidence using c
Hi, i want to develop an one final solution to the problem COMPUTER VIRUS. my idea is that to develop an antivirus like software.its not an anti virus but its more better than that. every anti...
|
Forum: C
03-11-2011, 07:03 AM
|
|
Replies: 0
Views: 561
Double printing?
So, have a program I'm working on and so far things seem like they are going like they are supposed to except one thing. When I print the menu for the user and they input something, if the input is...
|
Forum: C
03-11-2011, 07:03 AM
|
|
Replies: 0
Views: 852
How to define hex character array in C?
i have a simple question: I want to define a hex character array in C, but I don't want to have to define the elements one at a time. my programme needs an hexadecimal array as input of 128 bits....
|
Forum: C++
03-10-2011, 01:03 AM
|
|
Replies: 0
Views: 1,429
Number Palindromes
Hi, I am doing Question 4 of the Project Euler puzzles. I wrote some code which is supposed to find the biggest palindrome from the product of 2 numbers. However, this always prints out 900099. I...
|
Forum: C++
03-10-2011, 01:03 AM
|
|
Replies: 0
Views: 340
rendering using OpenSG
Hello.. I have a bit of a situation here. I am trying to work with OpenSG. I downloaded the package and installed it as it was instructed in the INSTALL file. Then i installed its system dependent...
|
Forum: C++
03-10-2011, 01:03 AM
|
|
Replies: 0
Views: 309
Passing unknown object to function?
How do you pass an unknown object into a function and save it? I'm trying to have a set and get function in a class I'm creating that can hold and return any object. Here are my attempts so far: ...
|
Forum: C++
03-10-2011, 01:03 AM
|
|
Replies: 0
Views: 365
|
Forum: C++
03-10-2011, 01:03 AM
|
|
Replies: 0
Views: 339
if statement question:
Hi, I am doing a C++ self-study and I got stuck with this problem. I want to have a code that asks the suer to enter two numbers and then it lists the numbers between these two numbers. It has...
|
Forum: C++
03-10-2011, 01:03 AM
|
|
Replies: 0
Views: 358
Compare Hands (Poker Game)
Hi. This program is pretty much working. I just can't figure out how to compare the higher hand when each player get a pair/three a kind. CardDeck.h <div class="codeblock"> <div class="spaced">...
|
Forum: C++
03-10-2011, 01:03 AM
|
|
Replies: 0
Views: 331
Trying to impelement this class
<div class="codeblock"> C++ Syntax (Toggle Plain Text (http://www.domainnameforum.org/#))
<div id="code1874568898_1"><ol><li class="li1"><div class="de1">
|
Forum: C++
03-10-2011, 01:03 AM
|
|
Replies: 0
Views: 337
Linked List Segment fault
I'm getting a segmentation fault at this line. So far, my program has classes. A blahpod with class of songs in them. Then there is the node class. I call the operator= which is supposed to put one...
|