General C++ Programming - May 2009 (Page 3)

How Do I Update a Record?
 
I am trying to get my program to do the following: If the student ID for the mark to enter has al...
[1 reply] : found = linearSearch(student,id,totalStudents); if (found!... (by kbw)
assistance in compiling a program
 
I have some code that I would like compiled to get a valid exe there are 3 files, an .H file a .c...
[2 replies] Last: I have tried them all... heheheh Im just not sure how to set up the... (by treeman7199)
How i can calculate execution time in visual c++?
 
Hi Dear all, I want to calculate the execution time of a function and display. please guide me...
[1 reply] : #include <time.h> // ... double start = clock(); //some co... (by writetonsharma)
Deleting Records
 
I am trying to get my program to delete existing student records. I have discovered that my progr...
[5 replies] Last: what do i use an STL container? (sorry im a real newbie lol) (by lebronjames)
by vcsasc
Random Number Generator with Container
 
The Objective : Creative any 3 Radnom Numbers between 0 -9 .In case of repeat,program should run ...
[2 replies] Last: Create a vector containing the sequence 0..9. Apply std::random_shuff... (by PanGalactic)
by RyanB
While...do loop
 
Hi, first post so slightly nervous! Very new to C++, but as part of my engineering degree we have...
[1 reply] : since your do{ is only at the bottom of your code its only looping thu... (by jloundy)
To rewrite single line rather than clear screen
 
Hi I want to rewrite single line in my VC++ output. I know there is a Clear screen function. but ...
[4 replies] Last: To position the cursor use SetConsoleCursorPosition () http://www.go... (by Duthomhas)
by Tourun
previous definition of a class
 
Hey Guys, In my program I have two classes in two different header files. Each class has a point...
[6 replies] Last: I have header guards in all my headers. I never knew why they were ne... (by Tourun)
Pointers - Weird new values
 
I have the following code that is supposed to perform a pop operation on a minheap that contains Tre...
[2 replies] Last: Here is the whole heap.h file. #ifndef HEAP_H #define HEAP_H #i... (by admiralfirelam)
Is there any difference between these cout statements?
 
I am hemanth. I am solving a uva problem (Id 100). Below the program for that one It is giving rig...
[1 reply] : Dont go through the logic, just have a look at placement of cout state... (by hemanth)
OpenGL CPU Usage
 
I've noticed over a period of time that DirectX seems to lower its CPU usage when idle when OpenGL u...
[3 replies] Last: I'd use all the same. CPU usage is a small price to pay for portabilit... (by helios)
by jfq722
exactly how stinky is this......
 
Hi all, suppose I need to store n number of AGE RANGES..... 13-26 34-44 51-87 I know tha...
[3 replies] Last: And depending upon what you are going to do with the ranges, you might... (by jsmith)
string to float conversion problem???
 
Hi All, I have string which has more float values.i need to grap the float values from the string...
[2 replies] Last: Why does your code not work? If the string can have only 4, 6, or 1... (by jsmith)
VC++ 6.0 + Processor Pack + Service Pack 5
 
Dear all, I met a problem where after i patch my VC++ 6.0 to service pack 5 and patch processor ...
[4 replies] Last: As long as you keep the PDB, a dump will give you a meaningful stack t... (by kbw)
by rippy
If/else problem
 
hey guys, Im having a problem with the following piece of code for soem reason when i execute the pr...
[3 replies] Last: Thanks alot guys, worked :) (by rippy)
Sorting an array of pointers
 
Hello! Dear all, i have a little problem with sorting. although i tried a really long time, i sim...
[8 replies] Last: hello, oh damn... i thought the error is somehow in my way to call ... (by confuseduser)
by Lorena
Usb detection in c++
 
I was wondering, can c++ detect the insertion of an usb device? And more specifically, can it detec...
[1 reply] : http://www.google.com/search?q=windows+device+notification&search= ... (by Duthomhas)
C++ Project
 
Hi there this is my first time on a forum so I will try my best to make sense. I am in the middle o...
[2 replies] Last: It makes some sense thank you but what I am aiming for is a log in fu... (by Lightning101)
by hicks
Cosine Equation
 
Hey Having trouble with a cosine graph. I know what cosine equation is y= A cos(2 PI x / B + P) bu...
[4 replies] Last: http://i206.photobucket.com/albums/bb172/cghicks16/untitled.jpg http... (by hicks)
OpenCV crashed on an error I could not solve
 
I am working on a program that takes realtime captured image. The goal is to track an object in the...
[no replies]
May 2009 Pages: 12345... 17
  Archived months: [apr2009] [jun2009]

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