Posts
 
Reputation
Joined
Last Seen
Strength to Increase Rep
+6
Strength to Decrease Rep
-1
69% Quality Score
Upvotes Received
7
Posts with Upvotes
7
Upvoting Members
4
Downvotes Received
3
Posts with Downvotes
3
Downvoting Members
2
3 Commented Posts
2 Endorsements
Ranked #630
Ranked #569
~43.2K People Reached
Favorite Tags
Member Avatar for Dave Sinkula

With regard to C++ books, I'll just echo the advice here .The following books are recommended; read them in mostly the order listed." Accelerated C++ " Andrew Koenig & Barbara Moo " The C++ Standard Library " Nicolai Josuttis --- a "must have" " Effective C++ ", " More Effective …

Member Avatar for shahidali6
11
10K
Member Avatar for Gotoma

Hello I'm new to programming in general and this was one of the assignments I did. I was suppose to create a class called employee that includes three pieces of information as data members - first name, last name, monthly salary. Then was suppose to write a test program that …

Member Avatar for aashi.bajwa.9
0
10K
Member Avatar for sharath_137

Hi, I tried to debug my code using printf statement... But previously it was working and today when i tried the same it was not working.... I tried the properties option and it is all the same as before..can any one help me....

Member Avatar for sharath_137
0
130
Member Avatar for learner guy

hello everyone, i am trying to implement save,load and replay in my chess game made in c++ console. i am done with save and load but stuck on replay. i want every turn to be stored in file and when player asks to replay it should show all turns in …

Member Avatar for Schol-R-LEA
0
234
Member Avatar for Xaviorin

I'll keep it simple and hopefully whatever simple error I keep overlooking can be used as a learning experience for others. This program uses a user created file called patient.dat that contains the following: Smith Eleanore 110/73 Jones Tom 200/78 The error I am having is that Mr Tom Jones …

Member Avatar for Xaviorin
0
235
Member Avatar for corby

im trying to overload the operator+= and use that to implement operator+ in my string class. i keep getting a segmentation fault when i try to evaluate something like s1 += s2 where MyString s1("");and MyString s2("hello"); any suggestions as to why this is happening? this is my operator+= function …

Member Avatar for corby
0
178
Member Avatar for MrEARTHSHAcKER

Hi, I wish to start making Windows Applications, but I need a good compiler. Considering I work in DEVC++, I can't make buttons, textboxes and other objects that easy. I wonder if there's any compiler like BorlandBuilder for C, but for C++. That'd really help me :icon_cool: So do you …

Member Avatar for MrEARTHSHAcKER
0
213
Member Avatar for phorce

Hello, I'm developing an application that reads a text file, and then replaces what's in the text file with an array (alphabet) It all works ok until I try and change the position of the inputted character and it returns: [b]Segmentation fault: 11[/b] It's really confusing! Here is my code: …

Member Avatar for sundip
0
96
Member Avatar for newbieha

Program received signal SIGSEGV, Segmentation fault. 0x001c74a5 in std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(std::string const&) () from /usr/lib/libstdc++.so.6 (gdb) where #0 0x001c74a5 in std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(std::string const&) () from /usr/lib/libstdc++.so.6 #1 0x0804b444 in Time::getTOD (this=0x0) at Time.cpp:63 #2 0x0804a4f0 in main (argc=2, argv=0xbffff7a4) at printsongs.cpp:102 (gdb) frame 1 #1 0x0804b444 in …

Member Avatar for raptr_dflo
0
181
Member Avatar for rrr12345

Hello, I have made a store inventory system in console in C++. I would like to know how can i convert it into full fledged graphical user interface. Any article,book,tutorial,video would be very helpful Thank you.

Member Avatar for rrr12345
0
220
Member Avatar for infantheartlyje

Hi folks, I have written code to random access files in c++ . I got result without creating a method for write a record to the file. I have given the code snippet below. [code] #include<iostream> #include<fstream> #include<iomanip> using namespace std; class student { int rollno,marks; char name[20]; fstream fpointer; …

Member Avatar for infantheartlyje
0
309
Member Avatar for linhj

Hi All, I am tring to using the below function to read in a .txt file, which consist of a 10x10 matrix number. I just cannot find out where goes wrong, it appears such a funny number -858993460... [CODE]void readinput(int in[][MAXCOLS]) { int row ,col,ip; //Declare row,col, ip as int …

Member Avatar for linhj
0
3K
Member Avatar for stereomatching

[code] void test_rr(std::string const &lvalue) { std::cout<<"this is lvalue"<<std::endl; } void test_rr(std::string &&lvalue) { std::cout<<"this is rvalue"<<std::endl; } int main() { test_rr("this is"); //will output "this is lvalue" std::cout<<"system pause"<<std::endl; std::cin.get(); return 0; } [/code] how could I treat "this is" as rvalue reference? The easiest way I could think …

Member Avatar for stereomatching
0
271
Member Avatar for smallB

Hi, I have a problem with linking boost libraries in codeblocks using gcc 4.6.1. I'm getting following errors: undefined reference to `vtable for boost::unit_test::unit_test_log_t' How can I solve it?

Member Avatar for smallB
0
157
Member Avatar for UNDER-18 FG

Hi. I'm new here. Anyway, I have an assignment of writing programs from outputs provided. Here's an output given in the assignment that I think is wrongly done. I'm saying this because I tried many, many times just to get the exact output, but only to no avail. So, I …

Member Avatar for UNDER-18 FG
0
119
Member Avatar for jonnyboy12

Hello. I am i'm recently taking off in building a game. The problem at the moment, is that i fear i'm programming to much! I wouldn't know this because i'm new to c++, but how much code is too much for a modern processor? In my engines render loop i …

Member Avatar for sundip
0
183
Member Avatar for rcowboy

Hello all, I'm getting an error in the following code, and I can't figure out why exactly. Error is as follows: no match for 'operator>>' in 'scoresIn >> scoresArray' this is at line 28 on the code below. I'm trying to bring in some data from a text file into …

Member Avatar for rcowboy
0
186
Member Avatar for QQnoobie

I am trying to write a function that will compute GPA. [CODE]#include "Student.h" #include "ClassInformation.h" Student* setupStudent(){ string f,l,idNo; double gPoint=0; Student *studPtr1; studPtr1 = new Student (); cout<<"Enter first name "; cin>>f; studPtr1->setfirstName(f); cout<<"Enter last name "; cin>>l; studPtr1->setlastName(l); cout<<"Enter A number"; cin>>idNo; studPtr1->setaNumber(idNo); cout<<endl; studPtr1->setGPA(gPoint); return studPtr1; } …

Member Avatar for QQnoobie
0
260
Member Avatar for ajayb

I am trying to do remote function call in c++. The scenario is like this. There are two programs running say P1 and P2. P1 is trying to call a function implemented in P2. The program P1 calls a function using an object which will make a call to a …

Member Avatar for sundip
0
336
Member Avatar for dsiyekd

I need to use the comm port to control an equipment. In order to get some initial information about the equipment, I need to "Send" and "receive" several commands to the equipment automatically at the beginning of the program. I've tried several Serial Classes from the internet, even the MSComm …

Member Avatar for sundip
0
142
Member Avatar for sunn shine

im studying recursive algos... teacher gave us assignment to write a recursive algo for the tower of honai............. what is TOWER OF HONAI????? :'(

Member Avatar for Fbody
0
143
Member Avatar for Nakeo

So i got my code to compile with no errors but when i try to run it i get a segmentation fault and i am honestly clueless as to why. Any help would be greatly appreciated. [CODE] #include <stdio.h> #include <iostream> #include <stdlib.h> #include <sys/types.h> #include <fcntl.h> #include <unistd.h> #include …

Member Avatar for Nakeo
0
175
Member Avatar for sunn shine
Member Avatar for ashanu

I am new to C++ coding. I want to know how hash_map and list can work together. My requirement is: I have a structure with address elements, name My hash key should be name of address object. Using the key I should find out structure. I have dynamic list for …

Member Avatar for sundip
0
180
Member Avatar for Braindead90

I am working on creating a linked list to connect the previous value number (or string) to another value I asked this question before I am just guessing I did it completely wrong since no one responded. So what would be the best way to start the function. I need …

Member Avatar for sfuo
0
255
Member Avatar for Seiko09

Hi, im new here, and i want to ask about "how to make a compiler". I'm a Computer Science and part of my subject wants me to create a compiler, and I had no idea of how to create one. Can anyone help me.....

Member Avatar for vijayan121
1
235
Member Avatar for sergent

It seems like when invoking a function explicitly, it should be compiled at compile-time with a specific variable type, but I am not sure how implicit function invokation works. I don`t think compiler will create a different function for evey datatype available (since there can be many different data-types in …

Member Avatar for stereomatching
0
175
Member Avatar for myrongainz

Hello, basically I'm trying to write a program where you ask the user to input 2 positive number. Then the program will print the lower of the two numbers to the higher of the 2 numbers and then higher of the 2 numbers to the lower of the 2 numbers. …

Member Avatar for sundip
0
414
Member Avatar for darelet

Hi all, I need a setup involving a client or front-end program that sends some tasks to a back-end process for processing and collects results for output. I know this involves socket programming, but one issue here is that the front-end is a windows program and the back-end is a …

Member Avatar for darelet
0
197
Member Avatar for george08.08

Hello. I am trying to validate a customer number using isdigit. If the user accidently enters a character other than an integer, I want it to allow the user to try again. The problem is it only will check the first number and if that is a digit it it …

Member Avatar for george08.08
0
3K