Posts
 
Reputation
Joined
Last Seen
Ranked #8
Strength to Increase Rep
+17
Strength to Decrease Rep
-4
80% Quality Score
Upvotes Received
1K
Posts with Upvotes
1K
Upvoting Members
372
Downvotes Received
390
Posts with Downvotes
216
Downvoting Members
130
470 Commented Posts
~3.34M People Reached
Favorite Tags

5,676 Posted Topics

Member Avatar for HungMob

[QUOTE=NetJunkie;]... but I have been on here since August 23rd, or somewhere in there, and I already have 135+ posts. I have been contributing to the site as much as possible and if the post count determines the knowledge or the credibility of a user...[/QUOTE] It does not. I've seen …

Member Avatar for cirol
0
6K
Member Avatar for vegaseat

[QUOTE=vegaseat;1127017]"You get what you pay for." -- unknown wise guy[/QUOTE] "You'll pay for that" -- probably the same guy

Member Avatar for Reverend Jim
15
13K
Member Avatar for samaru
Member Avatar for The Dude
Member Avatar for moderate_rock48
Member Avatar for Duki
Member Avatar for mattyd
Member Avatar for tdba.316

Then [I]originalPointer[/I] is getting too large. What is in the array [I]inputText[/I]? Not what you [B]think[/B] is in it, but what actually is the value of every single element in the array? Print it out value by value, as integers, and make sure the last word in the array is …

Member Avatar for Toniolo
1
1K
Member Avatar for plang007

Because [B]!infile[/B] is TRUE until you hit the End Of File. When you read the last line, you still haven't hit EOF so you fo through the loop once more. The first input hits EOF and continues through the loop since you are beyond the check already. The last line …

Member Avatar for toneewa
0
274
Member Avatar for adoleh

[QUOTE=adoleh;]I have to create a program that asks a person to enter a 2 digit number (10-99) and convert it into words. I've been working on this for days and I still don't see what I'm doing wrong! PLEASE HELP ME!!! [/QUOTE] With what? You didn't bother telling us what …

Member Avatar for emsmary
0
16K
Member Avatar for logicslab
Member Avatar for alamu

>sir i got error 112th line Sorry, but that's what you get for using someone else's code and not fixing your own code. You don't understand what he did and can't fix it.

Member Avatar for 4rajgopal
0
1K
Member Avatar for fugnut

Why not just hit Ctrl-C. It'll stop the program too. :icon_wink: You need to test the return from [iCODE]cin[/iCODE] and look for [B]EOF[/B]

Member Avatar for mohammad reza_1
0
7K
Member Avatar for Duki

Another thing to consider is the line [INLINECODE]else if ( ( a == b ) && ( a == c ) && ( b == c ) )[/INLINECODE] is a little longer than it needs to be. If [B]a[/B] == [B]b[/B] and [B]a[/B] == [B]c[/B], isn't [B]b[/B] automatically equal to …

Member Avatar for Dani
1
5K
Member Avatar for NinjaLink

Or, Read in the numbers into the array Sort the array [i]Then[/i] the duplicates are easy to find.

Member Avatar for Nor_492
0
7K
Member Avatar for slapme
Re: tax

And what do you need help with, other than learning how to [url=http://www.gidnetwork.com/b-38.html]format your code[/url] so we can understand it.

Member Avatar for Olivia Alex
0
239
Member Avatar for ellaine101591

Does that compile? You need to write short sections of code, compile and test each as you go. Otherwise when you get 800 lines of uncompiled/untested code, you will have a nightmare of errors to try to fix.

Member Avatar for MUGDHA_2
0
3K
Member Avatar for GeekByChoiCe

[QUOTE=GeekByChoiCe;]Everything that was written as possible solutions are not really good. Downvoting...hmm that doesn't happen a lot (at least in the VB forums)[/quote] So? It happens enough. And even if [I]in your opinion[/I] is doesn't happen enough, so what? Downvote them and it happens more? IMAO, your reasoning why you …

Member Avatar for Dani
0
506
Member Avatar for tracethepath

In your first post you did good -- mentioned what you wanted and what the program actually did. This time you left it up to us to figure out what happens. [I]always[/I] tell us 1) what you did, 2) what the program did, and 3) what you expected instead

Member Avatar for Saba_6
0
6K
Member Avatar for camelNotation

I've used [url=http://www.hyperionics.com/]HyperSnap[/url]. It had the most options I needed (included command line invocation). The author is also very responsive to bugs and requests.

Member Avatar for Andre_14
0
2K
Member Avatar for naya22
Member Avatar for Gheorghe_1
0
2K
Member Avatar for DemonLady

[QUOTE=TkTkorrovi;412602]And using %d, the sscanf does some strange things. %d must read int, but when we read into int and then print that number, it prints correctly even numbers which are greater than 65536. This should mean that it would write into memory larger than int allows, which is overflow. …

Member Avatar for Ajini
0
3K
Member Avatar for brittany435

[QUOTE=Compton11;569810]Brittany, you can't do cin >> number[i]..That will not read a value and store it in the array...Do something like this: ...Remember to add to my reputation![/QUOTE] That is [I]exactly[/I] how to read in a value into the array. Don't know where you get the idea it can't. [code=cpp] //Find …

Member Avatar for Reverend Jim
0
3K
Member Avatar for vmanes

[QUOTE=dawn.visp;1128490]I just hate when someone in the office downloads huge amount of files because the connection starts to slow down.[/QUOTE] His wife won't let him download that stuff at home, though.

Member Avatar for JamesCherrill
0
563
Member Avatar for tina.2826
Member Avatar for Rose Aashii

[QUOTE=sun_kangane;347764]How To Calculet Time Complexity Of An Algo[/QUOTE] By reading the responses posted in this and the other link you hijacked.

Member Avatar for Ali_84
0
2K
Member Avatar for Naruse

[QUOTE=Naruse;]Hi all.. How i can make a report without using database. Data can directly from the active form. Thank you in advance[/QUOTE] If the form has all the info for the report, just start outputting the info the way you want it. If that doesn't help please give some details.

Member Avatar for Ami_Tech
1
2K
Member Avatar for JHus00

Take for example you want to convert 7520 seconds into hh:mm:ss. Use integer math To get hours: [ICODE]hr = sec/(60*60); // int math truncates [/ICODE] What's left is: [ICODE]sec = sec - (hr*(60*60)); // remove the #hrs[/ICODE] Or using mod: [ICODE]sec = sec % (60*60)); // gives remainder if hrs …

Member Avatar for cereal
0
4K
Member Avatar for stefy14

[QUOTE=dusktreader;1176168]There is actually a very simple solution to this problem. First, you are trying to do two things here: [icode] 1. Split an input number into separate digits. 2. Add the digits together. [/icode] First of all, I would not recommend putting your input into an int type. If you …

Member Avatar for amisha_1
0
58K
Member Avatar for Amiet Mhaske

[QUOTE=Amiet Mhaske;]Hi, guys I am working on vb project, which will save client database. I've done the coding of ADD, NEW, SAVE, EDIT button. Now, I am stuck at DELETE button. When I delete any particular client then I want my client_id (it's a column in my access database) should …

Member Avatar for UZAIR_5
0
7K
Member Avatar for WAIWAIWAI

[QUOTE=WAIWAIWAI;1149599]How to add, subtract, multiply and divide 2 different numbers from 2 different form. Pls help me. The code i think is way too simple example: (Result.text = result) (Text1.text = number from form2)(Text2,text = Number from form3). the code i think is like this and this one is not …

Member Avatar for Reverend Jim
0
17K
Member Avatar for rfrapp

If you use a FOR loop from 1 to N, this loop would control each line. Then inside that FOR loop you have more loops that control the pattern of each line. Your job is to figure out how to create the line pattern. What is the same in each …

Member Avatar for pty
0
1K
Member Avatar for Arbus
Member Avatar for afv
0
4K
Member Avatar for thinkerman

It really helps to [format your code](http://www.gidnetwork.com/b-38.html) so others can follow it. Formatting also helps *you* when you get an error like "end of file during compile" of "else without if"... Also, **conio.h** is non-standard and should be avoided. You certainly don't *need* it in these programs.

Member Avatar for Aiman_1
0
1K
Member Avatar for alfroadgoerge

[QUOTE=aianne;1118779]try this code. [/QUOTE] But he wants it for the computer, not the iPhone... :D

Member Avatar for Reverend Jim
-1
748
Member Avatar for AmerJamil

[CODE]Start at the end of each array (ones digit). Add the two values. If < 10, store in the last entry of the answer array If >=10, store (val MOD 10) instead save (val / 10) to add to the next digits Move to the 10's digit and repeat [/CODE]

Member Avatar for JamesCherrill
0
1K
Member Avatar for kumarmpk4u

[QUOTE=kumarmpk4u;1546852]is it possible to copy a zip file and exe file from one directory to another using c program?[/QUOTE] Yes.

Member Avatar for megha_1
0
2K
Member Avatar for d1e9v85

[QUOTE=~s.o.s~;278814]You cant as such check for such conditions in case of a simple sort like bubble sort. Take for eg. this array. 1 2 3 4 5 6 8 7 During the first seven passes no swap is performed since the next number is always greater than the current but …

Member Avatar for White_2
1
765
Member Avatar for daino

> It's using the below but you need to include <string.h>, on dev c++ just <string> doesn't seem to work. That's because `string` is the header for the C++ string class. `string.h` (or more correctly in C++ `cstring`) is for c-strings.

Member Avatar for deceptikon
0
43K
Member Avatar for badkid32

When you post a request for help, you need to tell us what's wrong. Don't just tell us there's an error and expect us to look for the error.

Member Avatar for Xavier_3
0
11K
Member Avatar for kylcrow

1) Store the offset of the current line (for fseek) into an array 2) Read the line of the file 3) Increment COUNTER that counts the line 4) Continue at 1 until EOF 5) Get a random number based on COUNTER 6) [iCODE]fseek()[/iCODE] to the line 7) Read the line. …

Member Avatar for zia shaikh
0
5K
Member Avatar for Louie_Rave

Possible, of course. Doable with your current knowledge of C, the compiler, graphics, etc, only you can decide.

Member Avatar for markanderson4
1
4K
Member Avatar for ibthevivin

[QUOTE=ibthevivin;]@Narue: I've never written a change making program. I didn't find any reference of that in my textbook. What should I look under?[/QUOTE] It doesn't matter. If you've written a change program, you can use the concepts you learned. Since you haven't, you have to do this program without that …

Member Avatar for ddanbe
0
3K
Member Avatar for pavankumar77

[QUOTE=Aia;535722]Pursuit of such skills are as irrelevant to a programmer as it would be for an aspirant mountaineer to learn how to make ropes out of camel's hair.[/QUOTE] You wouldn't say that if you were lost in the Sahara Mountains! :icon_mrgreen:

Member Avatar for pritaeas
0
643
Member Avatar for norEdz

A somewhat minor nit-pick: [QUOTE=ravenous;]In ASCII the letters 'a' to 'z' and 'A' to 'Z' are converted a continuous set of numbers when you convert them from [icode]char[/icode] to [icode]int[/icode]. [/QUOTE] Letters are not [I]converted[/I] to numbers, they [B]are[/B] numbers. 66 is a number, and if output as a character …

Member Avatar for David W
0
11K
Member Avatar for needs_help

Well, don't know how to load the pic, and can't delete the message... Oh well.

Member Avatar for Ciara_1
0
883
Member Avatar for Ahmed Padela

I'm sure Ahmed and Vicky had been sitting in front of their computers for two years just [I]waiting[/I] for your response. Good Job.

Member Avatar for David W
0
584
Member Avatar for John A

That's because you didn't learn C++. You learned C. And if your instructor was really teaching C++ then you unfortunately received a very bad education. It's like taking a car repair class and all you worked on were motorcycles. After all, they have engines, too, don't they?

Member Avatar for Khawaja Ghulam
11
7K
Member Avatar for vegaseat

To put this in perspective, the habanero pepper (previously the hottest pepper) is a measley 100,000–350,000 Scoville units.

Member Avatar for vegaseat
11
9K
Member Avatar for Dave Sinkula
Member Avatar for shahidali6
11
10K

The End.