Posts
 
Reputation
Joined
Last Seen
Ranked #92
Strength to Increase Rep
+13
Strength to Decrease Rep
-3
94% Quality Score
Upvotes Received
138
Posts with Upvotes
112
Upvoting Members
60
Downvotes Received
7
Posts with Downvotes
7
Downvoting Members
6
81 Commented Posts
~476.38K People Reached
About Me

Software Engineer

Interests
Eating and Drinking
PC Specs
Difference engine
Member Avatar for moderate_rock48
Member Avatar for Peetah

I am writing a program that reads a comma-delimited file. There are several words on each line that will each be assigned to a string variable, each line in the file is a record, and the file contains several records. I am using getline with a delimiter, e.g. [B]getline(inputstream, string, …

Member Avatar for Adam_37
0
14K
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 ~s.o.s~

EDIT: Please note, as I write this, the post is now 6 years old and might have some outdated information. I'd personally recommend beginners start with "Learn C the hard way" by Zed and this book since I have heard good things about them. Reading the FAQ put together by …

Member Avatar for mack1
29
5K
Member Avatar for pushkar honey

when i try to call a .c file in antother i got a error for multidecalaration of main file.i prepare for a medical shop management using c language what can i do???

Member Avatar for dhanushdee24393
0
9K
Member Avatar for bops

Hi again everyone, Im running into big trouble with my compiler Dev-C++, every time i compile any project, whether it is 1 im working on, or a completely fresh 1 I get the same error every single time, I have been on the bloodshed forums and IRC channel but Im …

Member Avatar for muhammad raees
0
25K
Member Avatar for john_hasan

Friends i have little bit problem in making a c language program. I have to make a program which prints prime numbers from 1 to 500. I make this program but with while loop then i was told to make it using for loop, which i tried but failed. So …

Member Avatar for aizam76
-1
3K
Member Avatar for anupam_smart

This is really simple. Just take the last letter of the movie name in previous post & put another movie name starting with that letter. Eg.:- if i put "The Matrix -Reloaded" answer may be "Doom" so let's start. I put : The Matrix Revolution

Member Avatar for blackmiau
0
4K
Member Avatar for Sajoo

Hello I am working on Parallelization of Fractal Image Compression. I have used prof. Yuval Fisher's enc.c and dec.c fractal image compressor / decompressor. The code is working fine but my question is: How to view the RAW images lenna.dat(input image) and lenna.out(decoded image) on Windows/Sun/LINUX machine. I think there …

Member Avatar for Arun_8
0
364
Member Avatar for dododero

hey all well i have been facing this problem for days ...i have written a program where i am suppose to read a specific number of lines within different intervals and count the number of occurance of r and s and then divide r by s. The program is running …

Member Avatar for David W
0
153
Member Avatar for MiniApocalypse

HI guys! Im making a sudoku game. Ive got all the numbers in a 9 by 9 vector. But im unsure how to proceed. How do i work out which blank space (selected by the mouse) corrisponds with which blank space in the vector? I need it to work out …

Member Avatar for WolfPack
0
145
Member Avatar for sandeepxd

Hi i am new to c++, i need a code for an application with following specifications. 1. it should use RegisterPowerSettingNotification function and when WM_PowerBroadcast event is recieved then it finds if power source is ac or not. 2. if source is AC then it should execute a program. dev …

Member Avatar for WolfPack
0
105
Member Avatar for king13

A parking garage charges a $2.00 minimum fee to park for up to three hours. The garage charges an additional $.50 per hour for each hour [I]or part thereof[/I] in excess of three hours. The maximum charge for any given 24-hour period is $10. Assume that no car parks for …

Member Avatar for radhakrishnan.akshai.3
0
24K
Member Avatar for apcxpc

Hi all I have been following a tutorial on creating win32 GUI applications. I'm having a problem getting a dialog box to pop up on top of my main window ...the CreateDialog() method returns a NULL for some reason. Would really appreciate some help with this. Here is a zip …

Member Avatar for Jens_2
0
631
Member Avatar for Neelam_1
Member Avatar for WolfPack
0
189
Member Avatar for nhrnjic6

I have hard time understanding how does it happen. I mean how does : 6 / \ 3 8 / 2 I get that program finds the num on the left side whos equal to null so its smallest and it prints out 2. But how does it go back …

Member Avatar for userasad
0
153
Member Avatar for daniweb2013
Member Avatar for LordoDeGrim
0
741
Member Avatar for Annettest

Hello all: I have written a function that gets data (numbers) from a text file. My function works by taking a line from the text file, discarding unnecessary symbols, and putting the numbers into a vector. Here's a snippet: // Get data from text file. Values then put into one …

Member Avatar for haider885
0
391
Member Avatar for PolarClaw

Hello everyone, im new here and dont know yet most of the policies.. but i have been reading lots of your C++ codes, mostly, codes made by Narue.... i wonder if you someone could help me make a code for pascal's triangle wherein the ouput would look like a triangle …

Member Avatar for H A hashim
1
1K
Member Avatar for derbende

Hi guys, I have just started to learn c++ and I am working with robots. Every program is starting with main(int argc, char *argv[]) definition . I don't understand what does it mean?I am very glad if somebody canexplain for me .

Member Avatar for stephendstump
0
1K
Member Avatar for trantran

I have been programming in Windows with C++ and I am tiptoeing linux (mainly because of its most up-to-date C++ and also because of it's open source). I want to do multi-platform programming. The programming part is easy: I don't need help there. The part I need help is in …

Member Avatar for trantran
1
295
Member Avatar for Yzk
Member Avatar for some one

[CODE]#include <conio.h> #include <graphics.h> #include <stdlib.h> #include <stdio.h> void main (int) { int gdriver=DETECT,gmode,errorcode; //Requesting auto-detection. int midx,midy,x; //Initializing graphics and local variables. initgraph(&gdriver,&gmode,"d:\\bc3\\bgi"); //Reading result of initialization. errorcode=graphresult(); if(errorcode!=grOk) //An error occurred. { printf("Graphics error occurred : %s \n",grapherrormsg(errorcode)); printf("Press any key to stop : "); getch(); exit(1); //Terminate …

Member Avatar for kadawe
0
842
Member Avatar for TexasJr

This is the code I have right now : cout << "==============================\n"; cout << setprecision(2) << fixed; cout << "Shelby" << setw(24) << shelby << endl; And this is the output: ============================== Shelby 25.81 But what I'm trying to do is add a "$" sign before the amount while keeping …

Member Avatar for vijayan121
0
185
Member Avatar for HunainHafeez

with a lil bit of change in code ,it's functioning, but I want it to function with data members being private :-/ #include<iostream.h> #include<conio.h> class account{ public: int account_number; float balance; int passw; public: void display() { cout<<"Account number is:"<<account_number<<endl<< "Account balance is:"<<balance<<endl; } void user(int acc, float amou, int …

Member Avatar for HunainHafeez
0
180
Member Avatar for persianprez

Can someone please finish this off, i need the days to start going on the day specified [code=c] #include <iostream.h> int main() { int month;//asks for current month int days;//asks for day of start int numdays;//number of days in the month int monthstarter=1; //starts day count cout<<"Enter a month (1 …

Member Avatar for WaltP
0
251
Member Avatar for Unidennn

Hi, im pretty new to c++, and im stuck on this problem, i need to assign a letter from and array of stings to an array of chars and i just cannot figure it out. any help is appreciated. I tried both and both give me errors: strcpy (newChars[j],alphabet[i]); newChars[j]=alphabet[i]; …

Member Avatar for Ancient Dragon
0
189
Member Avatar for anisha.silva

Hi, i am not sure whether this topic would go under this category, thought this would be more suitable what are the famous software architectures? i have to do an research on this an present, I am new to this topic appreciate a reply thanks

Member Avatar for <M/>
0
198
Member Avatar for brahle

Always use scanf() and printf(). They are much, much faster than cin and cout. Also use stl algorithms, like sort, reverse and find, especialy if they are member functions of a container class you use.

Member Avatar for neithan
0
2K
Member Avatar for WolfPack

Hi, How do you delete a newline character that is inside a VB string? Apparently Trim removes only spaces. Thanks in Advance.

Member Avatar for hcassper
0
12K