GIDForums  

Go Back   GIDForums > Computer Programming Forums
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

C++ Forum

Welcome to the C++ forum.

Browse through the links below to find existing C++ programming language discussions - including source code examples, hints, tips, and tutorials. Example codes are syntax highlighted for your convenience.

If you have just registered or if this is your first time here, and if you wish to include example C++ code in your posts and messages, please surround your example codes in [cpp]...[/cpp] bbcode tags when you submit your messages. This will syntax highlight your CPP / C++ code examples within a post. Please refer to the details here.

Post New Thread
Threads in Forum : C++ Forum Forum Tools Search this Forum
  Rating Thread / Thread Starter Last Post Reverse Sort Order Replies Views
 
by WaltP
Guidelines for Posting Requests for Help version 3.1 GIDForums is pleased to provide these forums to help you understand programming techniques and correct programming problems. Following these guidelines will help you post good questions with enough information that we can understand your...
21-Apr-2005 03:44
by WaltP Go to last post
0 14,179
 
by bostero22
Hello, I am making this program for school, and I am stuck ... I think the program is not assigning and dealocating the memory correctly because the program sometimes runs and sometimes crashes... plz take a look and see if you see anything wrong with the code.. thanks! (I am getting the file's...
08-Feb-2010 11:05
by fakepoo Go to last post
1 41
Question
by Hothrous
Hi I am having trouble with an assignment for my advanced C++ class. I am using dev-C++ to compile it and it is giving me a bunch of errors along the lines of "expected primary-expression before '{' token " I have been searching for a week now. I even re-wrote the entire project trying to fix...
07-Feb-2010 19:01
by TurboPT Go to last post
7 92
 
by Allan
any one who can give me the best algorithm for "edit-distance". i will not anymore give the info about "edit-distance" if you are familiar with this problem please comment. all i want is the best algorithm. Thank you!
06-Feb-2010 07:32
by TurboPT Go to last post
2 58
Exclamation
by prraven89
hi , i need to create a advisor and advisee program as for my assignment. the point given is that:- List all advisors and advisees • Search advisor or advisee by name or ID • List the details of a selected advisee or advisor · For a selected advisee, his/her advisor must be shown · For a...
05-Feb-2010 12:24
by Mexican Bob Go to last post
5 99
 
by cjweinhe
I'm trying to write a program with an unordered_map that uses a shared_ptr as the value. Here is the sample code: unordered_map<unsigned,boost::shared_ptr<std::vector<unsigned> > > keymap; unordered_map<unsigned,std::vector<unsigned> > keymap2; int main(void) { // This works becuase object...
04-Feb-2010 07:25
by Kimmo Go to last post
3 83
 
by ahbi82
Currently i am facing problem with UML class diagram problems. I'm able to create a parameterized Class in Visio. But i can't use this class in other other classes. For example. I have a template class name A, and another template class name B. class B has a member of template class A. How can do...
04-Feb-2010 05:59
by Mexican Bob Go to last post
1 54
 
by AnandVKulkarni
I am in process of converting a c file to a cpp file. That file earlier(when it was c) referred to a global defined in some other c file(which still remains a c file and will not be changed to cpp). The global variable is declared as extern in a header file that is included in cpp file. I have...
01-Feb-2010 08:08
by Mexican Bob Go to last post
3 117
 
by cjweinhe
I'm trying to write an application where I have an underordered map with a shared ptr as the key. I then want to be able to find objects based on the hash of the object pointed by the shared pointed, not by the pointer itself. Here is a sample application I wrote: using...
31-Jan-2010 20:47
by cjweinhe Go to last post
2 79
 
by kppp
hello everyone, i want to interface ethernet communication using turbo C i.e i have one software of camera, which connects to my pc using RJ-45 connector. i want to transmit and receive the signals using turbo C is it possible? pls guide me. thank you regards kppp
30-Jan-2010 10:00
by Mexican Bob Go to last post
7 160
 
by arva
Hi, after a big research I finally found a solution to make sreenshots;p But what is bothering me - when I do some tests it shows up that analizing about 66.000 pixels takes 50-60% of my CPU resources(Intel Core Duo 1.66 GHz). Is there a faster way to do that? Here is the code(Borland C++...
30-Jan-2010 04:13
by ahbi82 Go to last post
6 121
 
by cjweinhe
I'm trying to create an unordered map that uses a shared pointer as the key for the map. I want to be able to find the pointer based on the contents of the object pointed to by the pointer, not the pointer value itself. Here is some sample code: #include <sys/time.h> #include...
30-Jan-2010 01:20
by cjweinhe Go to last post
0 68
 
by ahbi82
Template classes has to be coded only in the header files. Does this rule apply to template functions? One example i can think of is that it is being used as a static function. Meaning its being use by another function define in the header file. /* example.hpp */ #ifndef __EXAMPLE_H__ #define...
29-Jan-2010 12:37
by davekw7x Go to last post
1 79
 
by The Great Dane
Hi, guys. I just recently bought a new programming book called "Beginning Game Programming." The first major project to do in the book is to create a simple Game Engine. In the book, it is broken up into two seperate files: GameEngine.cpp and GameEngine.h. Well, I aside from a few errors in the...
29-Jan-2010 05:29
by AnandVKulkarni Go to last post
3 1,623
 
by winbinyam
hello can we display a unicode charcter on console programs working on visual studio 2008. I wan to display chainse font to display!
26-Jan-2010 22:12
by ahbi82 Go to last post
1 81
 
by ahbi82
Currently i'm preparing a design document. My classes are design using C++ template. I searched google and not found any useful information about UML for templates. I wonder if anyone of members here had some idea how to do it? I'm using MS visio. Maybe can rekon me a better and easier tool than...
25-Jan-2010 22:40
by ahbi82 Go to last post
2 131
Question
by M4tt1e
Evening Folks, I've got a small program that I'm having a wee bit of difficulty with. Everything was running fine until I entered the summary screen and now it won't compile. All it gives is an error C2109 (Line 140). Could someone point me in the right direction to clear the error. I've also...
25-Jan-2010 13:50
by Kimmo Go to last post
1 104
Question
by Punkhead
I'm working on an autonomous robot that uses an Arduino microcontroller, and I need help with the code for it. I think that this forum can help, since the Arduino code is written in C++. I actually found a code similar to what I needed, only it used both an IR sensor with a Ping))) Ultrasonic...
24-Jan-2010 20:09
by davekw7x Go to last post
1 87
 
by ahbi82
I'm working on a "server" for sending and receiving video frames in some format (using OpenCV IplImage). Its just for my demonstration replacement for frame-grabbing hardware. I have different sets of video sequences with i abstract into image sequences (1 image per frame). The server will run...
22-Jan-2010 15:38
by Mexican Bob Go to last post
1 93
 
by vahagn_iv
Hi, all!! I'm trying to share a variable between two applications. The first one gathers information and fills a variable of some_struct type. I want my second application be able to read that. Can anyone help me? Thanks in advance.
21-Jan-2010 15:50
by WaltP Go to last post
7 167
 
by program_help
I don't understand the concept of non-recursive functions. If I am to write a non-recursive function, not using bitwise operations, to print out a non-negative number in binary, how would I do it? I know that for the recursive function: void binaryEquivalent(int num, int base) { if (num ==...
20-Jan-2010 01:06
by Kimmo Go to last post
2 98
Post New Thread

Recent GIDBlogProblems with the Navy (Officers) by crystalattice

Display Options Moderators
Showing threads 1 to 20 of 4652 Moderators : 1
Sorted By Sort Order
From The
LuciWiz  
Forum Tools Search this Forum
Search this Forum :

Advanced Search

New posts New posts More than 15 replies or 150 views Hot thread with new posts
No new posts No new posts More than 15 replies or 150 views Hot thread with no new posts
Closed Thread Thread is closed  
 
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The

All times are GMT -6. The time now is 06:56.


vBulletin, Copyright © 2000 - 2010, Jelsoft Enterprises Ltd.