-
Began Watching concatenate 3 string (char str[30]) using operator overloading
i have a problem that how to concatenate more than two string in operator overloading i write a code but it is not run #include<iostream> #include<conio.h> using namespace std; class … -
Began Watching User Input: Strings and Numbers [C++]
User input/output is a key component in the programs you write, yet most online tutorials just provide a quick-and-dirty method of grabbing data. In other words, it works right up … -
Replied To a Post in User Input: Strings and Numbers [C++]
i've declared pointer to char for getting input but i'm unable to get input using getline in this case : char* str; cout<<"enter string"; getline(cin,str); its not working however i … -
Began Watching c++
Hello Does every function in C++ returns value? If yes what is that value and what is the use? -
Replied To a Post in c++
> If it returns 0 then when it will return other than 0? i'd be happy if you ask this question in connection with `main` function. anyways , its nothing … -
Began Watching Reading File Problem
I'm supposed to just read a file and display certain information. I wrote the file in notepad and have it in the correct folder for my project, but when it … -
Began Watching Swapping
This seemingly small code which swapps 2 numbers is giving me a headache..help!! C++ + am wondering why would one need to swapp the numbers in real life? trickery? magic -
Replied To a Post in Swapping
> y would one need to swapp the numbers in real life? trickery? magic do you mean applications of swapping ? if yes , agree with AD. its used in … -
Began Watching How to retrieve data from access and fill it into separate txt boxes in VB
I was trying to find an answer for my issue over the net, but it was hard to find any relevant information. I'm in the middle of my school project … -
Replied To a Post in How to retrieve data from access and fill it into separate txt boxes in VB
> I don't know how or even if it is possible to retrieve customer details from my database using customer ID. its possible if you have `customer ID` field in … -
Began Watching 2D arrays difficulty
here are my codes: #ifndef STUDENT_H #define STUDENT_H class student { public: void enterDetails(); void enterModule(); void displayDetails(); private: char name[100]; char studID[100]; char address[100]; char module[100]; }; #endif i … -
Replied To a Post in 2D arrays difficulty
> i want to add a 2d array "M[row][col]" in my class but i don't know how to do it anyone help? whats the problem with that? i think it … -
Began Watching a little help with the memory address of pointers
#include<iostream> using namespace std; int main(){ int fish =6; int * fishp = &fish; cout<<fishp<<endl; return 0;} this runs ok, but i get the same memory address when i cout … -
Replied To a Post in a little help with the memory address of pointers
> but i get the same memory address when i cout either fishp or &fishp. Not possible. if you use `cout<<fishp` then it print the address of the variable , … -
Began Watching Allow only positive integers
How can i write it so that my program only accepts positive integers that are great than or = 0? I want my program to ask "How many devices do … -
Replied To a Post in Allow only positive integers
sorry for disturbing this thread. but i have confusions here: > if (!cin) how does this statement is evaluated ?however i have played with `cin` and `cout` but never used … -
Began Watching functions
i have declared two functions of void type.lets one function calculates value of variable 'c' and other of variable 'y' and when i cout them it comes out to be … -
Replied To a Post in functions
> return 1 if c=y and return 0 otherwise for this , you need to declare a function of `int` return type. > function that compares values of 'c' and … -
Began Watching C++ ASSIGNMENT
plz community members, am a new student in programing and i would wish you people help me write a programme : that accepts marks in five subjects for a student … -
Replied To a Post in C++ ASSIGNMENT
what you have done so far , to solve this assignment. nobody will provide assistance until they realize that you did a lot with it. don't forget to post your … -
Replied To a Post in Beginner's Tutorial On Functions
happy to see that somebody is really learning with my tutorials , its my great pleasure. however , Now , i see that this tutorial is not complete . a … -
Gave Reputation to ddanbe in What is wrong with my code?
Why not use [toupper](http://www.cplusplus.com/reference/locale/toupper/) or tolower in your input, instead of doing (day1 == 'S' || day1 == 's')? -
Began Watching Function Callbacks problem?
Hello everyone.. I am a little bit stuck on this small problem. I'm trying to understand callbacks but seem to be no understanding something. It is probably something very simple. … -
Began Watching Many Labels in an Event Handler
I'm writing a program that generates labels at runtime, and then has them be "dragged and dropped" by the user. I have the drag and drop code working, but right … -
Replied To a Post in Pointers
sorry , i thought that i was posting in C++ forum. thats why i used `cout` and `cin`.you can think of `cin and cout` as `scanf and printf` respectively. anyways … -
Began Watching Pointers
Having trouble understanding pointers . Could anyone please help me out ? thanx in advance. -
Replied To a Post in Pointers
> Having trouble understanding pointers its not a good way for getting assistance and therefore never forget to specify the specific topic(like pointers with array , const pointer , pointer … -
Began Watching if/else statement
related on the first question...which is getting the commission,,, let me correct it..if you run this code the sample output will be like below; the problem is I dont know … -
Replied To a Post in if/else statement
> the problem is I dont know which one will be first to make a code. i don't understand what you want to say > the output will be like … -
Marked Solved Status for what does const mean in function
evenafter learning functions , i see a lot new things everyday in functions. its great because it gives the opportunity to learn new things. today , i see a function … -
Replied To a Post in what does const mean in function
thanks very nice explanation . i got it even though i am not familiar with class concept . i'll start learning on class concept next week. once again thanks for … -
Began Watching how to make a program in c++ executive?
how to make a program in c++ executive? -
Replied To a Post in how to make a program in c++ executive?
what does it mean by `c++ executive` ? i haven't heard about this(may be because i am a beginner). -
Edited what does const mean in function
evenafter learning functions , i see a lot new things everyday in functions. its great because it gives the opportunity to learn new things. today , i see a function … -
Created what does const mean in function
evenafter learning functions , i see a lot new things everyday in functions. its great because it gives the opportunity to learn new things. today , i see a function … -
Began Watching what does const mean in function
evenafter learning functions , i see a lot new things everyday in functions. its great because it gives the opportunity to learn new things. today , i see a function … -
Began Watching Arrays and Enumerated Data Types
I am doing a programming assignment. This program asks you to collect statistics on precipitation and temperatures from the four quarters of a year and print the calculated results. It … -
Replied To a Post in Arrays and Enumerated Data Types
some logical errors are there: change line 45 with this(because there are 2 values then you have set 2 instead of 8) avgt += (low_temp[monthQuarters] + high_temp[monthQuarters]) / 2.0; remove … -
Began Watching Can't Figure Out % Codes
I am very new to visual basic 2010 and am really struggling with it. My assignment is a fat gram calculator and the example is there are 200 calories in … -
Replied To a Post in Can't Figure Out % Codes
to get 36.00% , you need to change the code at line 13 with this: `decPercent = (decX / decCalories)*100` -
Stopped Watching Server back up!!
Been moving into the new office and the snowstorms keep putting a damper on things. I've finally got my SVN server set up again in our new office so I … -
Began Watching Compare value in column in two tables
Need Help.. I have two tables tblRecieve and tblReleased tblReceived --ID-RcvdPcs --1 5 tblReleased --ID-RlsdPCS --1- 2 as you can see i have received 5pcs and i already released 2pcs … -
Began Watching Server back up!!
Been moving into the new office and the snowstorms keep putting a damper on things. I've finally got my SVN server set up again in our new office so I … -
Replied To a Post in Server back up!!
daniweb too slow , today. what happened ? -
Stopped Watching Bad Grammar
I can't take it anymore. At first it was only occasionally. Now it seems that every time I turn on the TV someone else is doing it. Doesn't our school … -
Began Watching problem display the unchange array
cout << "Enter size of array: " << endl; cin >> size; cout << "Enter elements: "; for(i=0;i<size;i++) { cin >> array[i]; } -
Replied To a Post in problem display the unchange array
> problem display the unchange array i don't see the code for displaying an array. you should use `cout<<` for displaying i don't know what do you mean by the … -
Replied To a Post in Beginner's Tutorial On Functions
agree with you. here , bin_number should be read as big_number. and don't sweat the small stuff. -
Replied To a Post in Arrays in C++
i was wondering if somebody could explain this concept with suitable example(i.e. code snippt). -
Replied To a Post in Arrays in C++
what i learn about pointer to array is that A pointer to array is a pointer pointing to an array example: int arr[10]; int* ptr; ptr=arr; // pointer to array …
The End.