Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
Ranked #3K
~36.8K People Reached
Favorite Tags

15 Posted Topics

Member Avatar for JoBe

Its actually a theoritical question. You are not required to write any code to solve it. However, it can also be proven with actual code & appropriate data. You need to be able to explain how discarding any value read in (before input is complete) could actually be discarding the …

Member Avatar for Alfonso_4
0
873
Member Avatar for bops

[QUOTE=bops]Thanks, I have did that, It has been added to path successfully but Dev-C++ still doesnt work. I have rebooted as soon as i added C:\Dev-Cpp\bin; to path but the error is still the same...any mroe suggestions ?[/QUOTE] you definitely have a config problem. Your path is wrong &/or dev …

Member Avatar for muhammad raees
0
29K
Member Avatar for ebabes

The class below is a proxy (or wrapper) for making oledb calls. You can use std sql scripts. Just make sure that you have the appropriate connection string for your db. [code] using System; using System.Collections.Generic; using System.Text; using System.Data; // ado.net stuff using System.Data.OleDb; namespace DbProxy { public class …

Member Avatar for ebabes
0
145
Member Avatar for kon_t

Hi, I have an application where i want a datagridview to treat single mouse clicks as if they are ctrl_clicks. IE I when a user clicks on a row, the rows state is togled (eg not selected to selected or vice versa), without affecting any other rows. So far the …

0
61
Member Avatar for Coding Mage

You dont specify how you intend to use the factory. That will play a larg part in choosing a Factory pattern to use. So my comments are fairly general. The motivation behind Factory, is to put the object creation in one place, making maintenance easier & removing dependencies from 'user' …

Member Avatar for Dave Sinkula
0
618
Member Avatar for JoBe

from memory, that exercise is in the chapter on associative arrays. If you think about how a map (or 2) might be useful, you will find the task much simpler than using vectors.

Member Avatar for JoBe
0
266
Member Avatar for hinduheads
Member Avatar for kon_t
0
79
Member Avatar for WittyFool

Your code wont compile as is. What you need to have is [code] void aFunction { A a; // create local auto object on the stack A* ap = new A() // create object on the heap & have ap refer to it // do something delete ap; // manually …

Member Avatar for kon_t
0
138
Member Avatar for masa
Re: path

Why not have your program use cmd line arguments. Then your user can specify the output directiry when invoking the prog. Eg: prog "D:\output Dir1" would inform the program to write the output to: "D:\output Dir1\Daily_Summary_%d.csv" You could even have then specify the output file name as well. The advantages …

Member Avatar for kon_t
0
170
Member Avatar for JoBe

Why not use the assignment operator rather than the CopyPerson() method? Actually most classes will work perfectly will with the compiler generated copy constructor, destructor & assignment operator. Only classes which do their own resource mgmt need them. In the case of People & Lobby classes, the design is overly …

Member Avatar for Lerner
0
340
Member Avatar for masa
Member Avatar for Dave Sinkula
0
211
Member Avatar for nico

The ascii character set assignsg the (256) numbers that can be represented by an unsigned char to display characters. The set runs from 0 - 255. No negatives. C/C++ uses chars to store ascii values, though they are really just numbers. The trick is in how they are interpreted by …

Member Avatar for Sutanu
0
5K
Member Avatar for kon_t

Hi, I am interested in comments / experience people have wrt writing a tcp server in .net. We currently have existing an existing server, written in native c++. It communicates with our own browser client using a proprietery protocol and services hundreds / thousands of concurrent connections. The server uses …

Member Avatar for mcldev
0
101
Member Avatar for ibassplayer205

You program simply ended after the output line. I assume that you were running it directly from the dev environment. If you run it from a cmd shell you will see the output: Hello World To add a pause, try the following code: #include <iostream> // io classes etc #include …

Member Avatar for Narue
0
174
Member Avatar for hopeolicious

Try changing the first few lines of your code to: #include <fstream> #include <iostream> #include <cstdlib> #include <iomanip> using std::ifstream; using std::ofstream; using std::cout; using std::endl; using std::setiosflags; using std::ios; using std::setprecision; struct mike { int id; float average; char lettergrade[1]; int numgrade; int total; }hope; int main() ...

Member Avatar for kon_t
0
162

The End.