General C++ Programming - May 2011 (Page 4)

by ecko08
I need help guys...
 
I'm just a student trying to finish my final report but I can't seem to do it. Here's the problem statement.. Design a program that will allow the user to se...
[1 reply] : So, what's the problem? (by hamsterman)
Sending Image to Server using C++
 
hi friends.. I want to sent an image from client to server in c++ on windows plate form. can any one tell me how to read an image and convert it into byte arr...
[13 replies] Last: Thanks I got the Solution :) (by UsmanButt)
"Illegal instruction" error on some computers, but not others. Using LAPACK and BLAS.
 
Hi everyone, I'm a physics student and I've written a program for my honours thesis using LAPACK. I've been using C++ since vectors are very useful for organiz...
[1 reply] : Can you identify the exact model CPU for the computers that work and t... (by Duthomhas)
by madjas
header question
 
i have this code that im gettin this error "1>Build log was saved at "file://c:\Users\madjao\Documents\Visual Studio 2008\Projects\school\Debug\BuildLog.htm" w...
[6 replies] Last: no the helper.h file was created. the code that im trying to compile i... (by madjas)
by HenriK
Quicksort problems
 
Hi, it´s me here. I decided to take a look how quicksorting works. I found a piece of code concerning it and modified it for my own use and now when you look a...
[4 replies] Last: Move the pivot "outside the array". Then try to end with [lesser | piv... (by ne555)
variable addition to loop
 
Hi There, I am having this problem with these for loops. Whenever I add "ydisplacement2" to the loop, some results become gibrish. ydisplacement2 will eventu...
[10 replies] Last: Thank you Mathhead200 and Framework. (by sanehatter)
How can I make my own menu?
 
For using C++ Applications I need to install C++ Redist first, but how can I check if the C++ Redist is installed, and of course respond any case. Well, I sa...
[11 replies] Last: Ohhh this could be the solution !! Because I need to run the EXE witho... (by Fresh123)
Allocating Specific Memory
 
Hi, I've got a situation where I have a huge amount of memory on whose specific pointer values I'm processing with a time consuming algorithm, basically perfor...
[18 replies] Last: but are you trying to sort all 20GB of strings all at once or you can ... (by kfmfe04)
Ofstream Junk values!
 
Hey, I wish to output the results of my program onto an output file. Hence I create an ofstream object as follows; ofstream output ("Output.txt"); Then...
[2 replies] Last: printf() is C; ofstream is C++. Don't mix them. What is t??? Becaus... (by webJose)
by Pixel
cximagecrtd.dll, Cannot find or open the PDB file
 
Hi All, cximagecrtd.dll, Cannot find or open the PDB file I am using Vc++ 2010 n 64 bit pc, with this forum help i have sorted out the normal windows pdb fi...
[no replies]
a question about conversion constructor
 
hi: a RationalNumber class is declared as follows: class RationalNumber { public: RationalNumber(int num = 0, int denom = 1) : numerator(num), denominator(den...
[3 replies] Last: int n = 10; RationalNumber r = n; /* * What's going to happen h... (by Mathhead200)
Import one dll to another dll (1,2)
 
I created my own DLL which does exporting. Now I wanna do imports, I want to load the same function from another import function DLL (ex. user32.dll). I tried ...
[24 replies] Last: I'm pretty sure they work about the same. I usually do the second one.... (by anonymous23323124)
by yobbko
read data from webpage
 
I need help with reading data from web page. I wanted to do database of rates (forex). For example: whan price is (eur\usd) 1.4231 then 1.4230 then 1.4229 then ...
[3 replies] Last: You'll probably need an external library to help you with getting the ... (by Albatross)
by sim08u
How to use classes and inheritance to make a bank account/ATM program
 
Hi guys I have been given this assignment from uni, and I am completely stuck my assignment sheet tells me what to do, but i just don't know how to do it. I wil...
[2 replies] Last: have you got the program running? (by kresvid)
by Andat
Liniking error
 
Hi All, I have a visual c++ application I want to run and I have included all the necessary header files and the project compiles with some warnings which can ...
[2 replies] Last: Are you including a static library? If so, I had the same problem. It ... (by closed account zb0S216C)
by Reemu
How to solve this question: Create a Class called IntegerSet in c++?
 
This question paper : http://up.brbz.net/live/13064216351.jpg .... create class integerSet . each integerSet object can hold integers from 1 to 1000 . The...
[2 replies] Last: Have you even tried making the fill function yet? Getting the values ... (by ModShop)
Hash table question
 
why is full deletion (as opposed to lazy deletion) of a record in a hash table computationally more complex with open addressing than with separate chaining? ...
[1 reply] : consider the Wikipedia example: http://en.wikipedia.org/wiki/Hash_tab... (by kfmfe04)
Vector pointing to Objects
 
hi, could you please tell me where have i gone wrong? #include <vector> #include <cstdlib> #include <iostream> #include <string.h> using namespace std; ...
[14 replies] Last: what do you mean??? (by jimas13)
by AlecC
Vectors
 
How exactly do vectors work because I don't really see them that different from arrays. I was originally searching for the arraylist of java equivalent in c++. ...
[2 replies] Last: Thank you very much. Although now I feel like an idiot for not noticin... (by AlecC)
To concatenate strings using ostringstream
 
i want to concatenate two strings in a string or using ostringstream. Like this: string str= "first string"; ostringstream ostr; ostr<<"It is a"<<str; ...
[7 replies] Last: The entire file would be even better. (by moorecm)
May 2011 Pages: 123456... 32
  Archived months: [apr2011] [jun2011]

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