General C++ Programming - June 2012 (Page 21)

cpp file
 
Hi. can you recommend a link that explains cpp files. I am aware that the cpp file is the implementa...
[1 reply] : Generally, as you said, there are two types of file used in C++ progra... (by Torin)
Adding two numbers using operator overloading
 
Hi All, I came across a question where by the requirement was to add two 50 digits number using c...
[1 reply] : Overloading operators can be used when at least one operand is of type... (by vlad from moscow)
I'm trying to make a C++ application
 
I made the code and the exe but I am not sure how to get my C++ to run without a compiler. How is th...
[11 replies] Last: Lack of knowledge isn't a concern, it's lack of experience. You lack t... (by BHX)
how to set default values to the edit control box in vc++ MFC?
 
how to set default values to the edit control box in vc++ MFC?(without using mask edit control)
[1 reply] : If the edit control box is on a Dialog then you can add code to the di... (by SIK)
how does one make an rso server
 
i tried using red5, mammoth, and a bunch of other flash media server alternatives but they were all ...
[no replies]
Indexing and reading individual classes
 
I REALLY need help with this, I've been slaving over it for a while and simply cannot grasp it. Esse...
[1 reply] : Item *MyItemArray = new Item ; for(int i=0; i < userInput; i++) { ... (by soranz)
Reading a text file into three parallel arrays
 
This just doesn't seem to be working. It compiles, asks for a file name, but then doesn't do anythin...
[3 replies] Last: Just a side note: this is a big waste: cout << loadData(ARRAY_SIZE)... (by Gaminic)
Help needed in a simple sort programme
 
Here's the question :- You will be given several lines of input where each line contains a sequenc...
[1 reply] : Hi, your post is unreadable... Please format ur code with proper inden... (by soranz)
how to close MFC dialog box on connection?
 
i hab made a dialog box/form in vc++ MFC which should take the inputs from user(username,password)an...
[2 replies] Last: thank you soranz (by umeshnepal)
Simple Log-in System
 
Code Review? #include <iostream> #include <cmath> #include <cstdlib> #include <cstring> usin...
[1 reply] : Looks good :) Your coding is easily readable and organized. Here's a... (by soranz)
MIT C++ Course download
 
Hi there, I was browsing a few days ago and came across a free C++ course from MIT - for educationa...
[2 replies] Last: The Engineering/CS department does have some other interesting looking... (by naraku9333)
by MAQAH
USING DEFAULT ARGUMENTS
 
Any ideas to solve this error .. #include<iostream> using namespace std ; void repchar(char='*...
[6 replies] Last: > but my question is why we should make it const, See: http://www.pa... (by JLBorges)
Converting to tail recursive algorithm
 
Hi, here is my simple linear recursive algorithm to sum elems of an array. Does anyone know how I ca...
[1 reply] : This is one way to get a tail-recursive form: int sum( const int* arr... (by JLBorges)
Access data in a class from a function
 
Hy, how can I access public variables and functions that I've created in some classes from a glob...
[3 replies] Last: General answer: All you have to do is create an instance from your cla... (by soranz)
help with binary sum
 
I'm trying to trace this function, and I know I'm supposed to complete the first recursive call BEFO...
[2 replies] Last: The reason I want to use it, even though when I trace by diagram it's ... (by closed account 4ET0pfjN)
Sockets - When To Update
 
In a multi-client server, when should the clients and the server be updated. For example, should the...
[1 reply] : You need to notify of client updates (deltas) to keep the thing intera... (by kbw)
by Lostzn
Help storing and changing variables
 
Hi everyone: I am having a little problem with the program below. If I input "2/5*2/6" the char ...
[1 reply] : Hi, I see you've declared a few char at line 31 without initialization... (by soranz)
Hypermarket Programming to calculate employee's Pay and Overtime
 
Can someone show me how to begin.Thx .A hypermarket pays its employees on work-hours basis and by...
[7 replies] Last: Hey arahalim, you changed your original post and put in a brand new qu... (by soranz)
build up programming logic
 
hi, i am new in c++ programming. i read so many blog about how can i be a better programmer , most...
[1 reply] : http://norvig.com/21-days.html http://samizdat.mines.edu/howto/HowToB... (by Moschops)
Exception at exit
 
Hi, I'm writing a program at the moment that runs fine, but when it exits i get the following messag...
[2 replies] Last: Not intentionally anyway, i've looked through the config options in vs... (by slicedpan)
June 2012 Pages: 1... 1920212223... 33
  Archived months: [may2012] [jul2012]

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