General C++ Programming - August 2011 (Page 13)

by phujo
Dectection and Generation of Barcodes using C++
 
i have this assignment to submit as a mini project, im ready to pay a few $$$ to get a c++ programmer to write a simple programme that can generate and detect b...
[5 replies] Last: @ phujo since this is a job, maybe you should post it in the Jobs sec... (by shacktar)
i do not understand rand() >.<
 
ok here is my code #include <iostream> #include <cstdlib> using namespace std; int main() { cout<<rand()%6; cin.get(); } i want it to...
[5 replies] Last: By adding some constant value to the generated number. It's a good ide... (by Athar)
Graphics help
 
i was just wanting to know if anyone knows a good tutorial that could help me with programming my own graphics from scratch i think >.<?(2d and 3d) or how i wo...
[4 replies] Last: For 2D graphics you should use SFML, although that is a library like S... (by Athar)
Number suffixes
 
What are the possible suffixes for numbers in c++? I know there is 'f' to indicate that a number is a float, but is there also one for double or other data type...
[1 reply] : 1.0 => double 1.0f => float 1 => int 1U => unsigned int 1L => long 1UL... (by jsmith)
Making a StopWatch (1,2)
 
I was making a Stop Watch in the console. The part I have already done is: It waits until the user presses a Key to start the stop-watch. Then it begins to out...
[25 replies] Last: Nope. (by m4ster r0shi)
Performance consideration: use vector for 2D matrices
 
A C++ 2D matrices is implemented as: size_t strHandling(const std::string& s1, const std::string& s2) { const size_t len1 = s1.size(), len2 = s2.s...
[5 replies] Last: Wel, the article is talking about an algorithm which uses a 2d matrix ... (by andywestken)
memory pool
 
I haven't had much experience with templates, but I wanted to make a memory pool class which can allocate any kind of object which is specified when the constru...
[7 replies] Last: I just wanted  to  add that if you want to delay the  T  con... (by m4ster r0shi)
My Inheritance Code Doesn't Work. Click Me!
 
OK. I have this simple inheritance code that involves a pure base class, and a derived class. Here's the problem: when I print the value of a member of the base...
[3 replies] Last: Thanks for taking the time to look at my code, lads. I'll try use the ... (by closed account zb0S216C)
Disable TIdHTTP third party hosts.
 
Hi, I'm working on an application on Embarcadero c++ builder that posts data on a web server, I use POST/GET functions of TidHTTP component to do that, But it a...
[1 reply] : I opted for building my packets manually with blocking socket, setting... (by Hohenheim)
by Rito
making a number sequence
 
con anybody tell me where is the error statement below? it, sequencing numbers but it will not run properly.. #include <iostream> using namespace std; int B ...
[1 reply] : Duplicate Post. http://cplusplus.com/forum/general/48923/ (by cnoeval)
Print Template data types
 
want to perform cout << current->info; //current is pointer to the Node This line is in function display list. Whenever I tried to compile, my compiler go...
[2 replies] Last: Thanks (by Umair Khan)
football tournament simulator
 
hi guys im trying to write code that will simulate the matches and flow of a football tournament, where the code will ask the user for - number of teams part...
[3 replies] Last: Ah sorry.. you can place that anywhere after your teaminput lines, ... (by closed account DSLq5Di1)
by Kyon
Graftal
 
I recently read a few articles on graftals, and then felt the urge to program again (since a very long time). I made a little application that will accept a set...
[3 replies] Last: Woo, thanks to you, I finished my Graftal header file. :3 For anyone ... (by Kyon)
camera SDK
 
Hello i am new with computer programming i have to work with cameras and the camera has a SDK. It has some examples about its control, and has some example code...
[1 reply] : You need a version of visual c++ to use those things. stdafx is part ... (by Azagaros)
by Rito
making a number sequence
 
con anybody tell me where is the error statement below? it, sequencing numbers but it will not run properly.. #include <iostream> using namespace std; int B ...
[3 replies] Last: I guess you'll have to use the 'new' operator, since you want to alloc... (by JellyFox)
Parallel Port Controlling by inpout32.dll
 
Hello , I have 2 alternative codes for the aim I have stated in my topic. First one is : #include <windows.h> #include <iostream> #define Data 0...
[1 reply] : void __stdcall *Out32(short a, short b) = GetProcAddress(oz, "Out32")... (by webJose)
LibXML Errors
 
Hi there. I've been using the LibXML library to work with XML files. Once I've used xmlParseFile() to parse a document, I want to check to see if the doc pointe...
[1 reply] : Bump. I've done some research, and found that I can use freopen() to d... (by JellyFox)
ask for help to fix error in following code
 
Failure to build following code in VC2005. what is the wrong with the following code? =========================================================================...
[4 replies] Last: Try to use newlines and spaces! #include<cstdio> using namespace std;... (by Syuf)
by stage0
i need help with this it wont compile!
 
im sorry for my actions in the past at this forum but i need help. here is my code #include "stdafx.h" #include <iostream> using namespace std; typede...
[2 replies] Last: Replace "1" with "l" and that last function makes more sense. Perhaps ... (by Zhuge)
by zjkg
How to make unconnected graph to connected one?
 
Hello~ I have N connected components in graph, G where N > 1. How can I connect each connected component to the other reserving minimum weight so that G is co...
[no replies]
August 2011 Pages: 1... 1112131415... 29
  Archived months: [jul2011] [sep2011]

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