Posts
 
Reputation
Joined
Last Seen
Ranked #4K
Strength to Increase Rep
+0
Strength to Decrease Rep
-0
67% Quality Score
Upvotes Received
2
Posts with Upvotes
2
Upvoting Members
2
Downvotes Received
1
Posts with Downvotes
1
Downvoting Members
1
1 Commented Post
0 Endorsements
Ranked #1K
~39.9K People Reached
Favorite Tags

100 Posted Topics

Member Avatar for veronicak5678

You can break the logic down into a 3 step process: Im leaving the coding upto you. 1) Remove leading white spaces using a loop until you hit a non white space 2) Use a loop to remove the middle white spaces and copy characters into a temp array 3) …

Member Avatar for bridgett.grace
0
2K
Member Avatar for jon_stahl
Member Avatar for alexstone
0
447
Member Avatar for michelle1

Try Code::Blocks or Bluefish. IMO Code::Blocks is better, since Bluefish started life as web development IDE. Alternative is downloading notepad++ and also gnu compiler package.

Member Avatar for Abdelghafour
0
716
Member Avatar for didi00

[QUOTE=didi00;1068386]My Borland C++ vresion 3.1 isn't working. It works with simpler codes, but it doesn't works with graphics and animations. Is there any settings that will make Borland work? I'm using Windows 7 but the same happened with Vista and XP also, so help? Please? Thank you all!!![/QUOTE] Use a …

Member Avatar for gibson.elliot.5
0
253
Member Avatar for kenji

Hi, I have a really basic ASP.Net question regarding the life of variables. I'm following the book Beginning ASP.Net 4 by Apress. The question is this, I declare a list in the .aspx page and it is available for access by the corresponding .aspx.cs class similar to the code sample …

Member Avatar for dnanetwork
0
148
Member Avatar for garu525

Check each token using [URL="http://www.cplusplus.com/reference/clibrary/cctype/isalpha/"]isalpha[/URL] and [URL="http://www.cplusplus.com/reference/clibrary/cctype/isdigit/"]isdigit[/URL].

Member Avatar for Duoas
0
182
Member Avatar for kenji

Hey, I'm trying to figure out how pointers and C String work together I know the basics about pointer arithmetic but I am having trouble implementing it in my program. I am having a problem at the for loop. [code=CPLUSPLUS]/* Trying to print a string from an offst using pointer …

Member Avatar for vinay_verma107
0
258
Member Avatar for Aia

I got a few replies from dave or read his reply and they always imparted some knowledge or wit. You will be missed. My condolences to his family and friends.

Member Avatar for sureronald
9
624
Member Avatar for vmanes
Member Avatar for kenji

Hey, Iv decided to tackle a bit off C++ before I start it in college in fall and Im sort of stuck on a problem. The book im reading is Accelerated C++ and its exercise 3.2. Basically the question asks to get values from the user and take for at …

Member Avatar for arkoenig
0
154
Member Avatar for pok.kys90

Deleting a record is fairly simple, all you need to do is create a temporary array and then just copy each value one by one, skipping the element you need to delete and then just copy the temp array to the main array. Alternatively just make the element you need …

Member Avatar for pok.kys90
0
205
Member Avatar for xcarbonx

Just one function is fine, now just call the function again and change [icode]avgEng to avgHist[/icode].

Member Avatar for kenji
0
92
Member Avatar for gorgey506

Please use code tags. I'm not sure what you mean by repeat the program, but it looks like you are since your using a while loop.

Member Avatar for Grn Xtrm
0
166
Member Avatar for CleanSanchez

What errors are you getting? Just copy each array value from the fileinto a array or vector in your program.

Member Avatar for CleanSanchez
0
831
Member Avatar for summey

Send it to the function by sending the array as a reference or a pointer. Google Function parameters for more inforation

Member Avatar for summey
0
102
Member Avatar for deanus

Its the same as holding a address of a pointer to primitive data type. [code=C++] Object* obj, obj1; obj = &obj1; [/code]

Member Avatar for deanus
0
107
Member Avatar for kenji

Hi, I'm trying to use the built in gcd method to calculate the gcd for two values. Unfortunately I can't seem to import the right module to get the method. [code=python] from fractions import Fraction ... x = gcd(a,b) [/code]

Member Avatar for kenji
0
182
Member Avatar for Ginkan
Member Avatar for kenji

Hi, After several google searches, yes I did actually bother searching, I was hoping someone would be able to help me out. I'm trying to figure out persistent hash tables and the internet seems to be woefully inadequate in information, I was hoping some one here had a link or …

Member Avatar for kenji
0
63
Member Avatar for nuubee

It would be good if you learned about looping as tomhogans mentioned, also try and learn arrays, it would make the program easier to read as you wont have so many variables. To get you started I suggest you try and write it out on paper its not too difficult, …

Member Avatar for piyota
0
4K
Member Avatar for kenji

Hi, I'm trying to copy a value in a vector to a string. The vector is also of string type, I'm trying to copy through the iterator. [code=CPLUSPLUS] for(iter = inputStr.begin(); iter != inputStr.end(); iter++){ string temp = inputStr.at(iter); int count = 0; for(int i = 0; i != temp.size(); …

Member Avatar for jonsca
0
136
Member Avatar for moonw3ll

You need to use an int to keep the number of items sold. Also use a switch/case to choose whether customer or owner.

Member Avatar for moonw3ll
0
252
Member Avatar for neumannj656
Member Avatar for Evan M
0
158
Member Avatar for arithehun

Two question the first it why are you using goto? It is very bad practice and your noticing first hand the negative effects it can have. Secondly why haven't you just used a while loop instead of all this back and forth. Thirdly how does this even compile? It has …

Member Avatar for arithehun
0
181
Member Avatar for p3rsia

This is the wrong forum, but anyhow unless you show some effort even the guys in the C# forums wont help.

Member Avatar for ddanbe
0
116
Member Avatar for kenji

Hi, I can't figure out why my exit button is not working as all the other buttons in my code seem to be working. I have given the code below. The constructor for the button is [code=Java] private JButton exit; .... add(exit); .... exit = new JButton("Exit"); exit.addActionListener(this); [/code] The …

Member Avatar for Ezzaral
0
87
Member Avatar for Mattpd

Once you have scanned the input in you need to use strcpy() to copy the string from the variable to the data structure variable. [code=C] strcpy(inventory[num+parts].name, part_name]; [/code]

Member Avatar for Mattpd
0
136
Member Avatar for bman214

[URL="http://cimg.sourceforge.net/reference/group__cimg__tutorial.html"]http://cimg.sourceforge.net/reference/group__cimg__tutorial.html[/URL] Tutorial [URL="http://cimg.sourceforge.net/reference/index.html"]http://cimg.sourceforge.net/reference/index.html[/URL] Documentation

Member Avatar for bman214
0
100
Member Avatar for Jelmund

It isn't all that hard: -- declare a variable to hold the first letter -- make a loop that has 25-26 iteration (depends on how you design the loop) -- print the variable -- increment the variable -- return 0 :) -- simple

Member Avatar for zortec
1
235
Member Avatar for kenji

Hey, I want to know whether it is possible to send a formatted string ie. [code=java] System.out.printf("%2d%6d%23f...",a,b,c); [/code] to a .txt file so that when I view the .txt it will appear properly justified with spaces and tabs. Thanks

Member Avatar for kenji
0
96
Member Avatar for Sabaa

I'm not exactly sure why you would want to use C++ to create a login, your better off using Perl, PHP, ASP or Python to create such a script. Also standard disclaimer applies, you need to show effort before you ask for help.

Member Avatar for taylorc8
0
232
Member Avatar for kenji

Hi, I'm having a rather strange problem with the Java compiler. I'm trying to compile a simple hello world program and I can compile it perfectly within NetBean but when I try to use the commandline javac command I get a error. The error says the there is something wrong …

Member Avatar for JamesCherrill
0
97
Member Avatar for plobby

Hey, A couple of questions, what compiler are you using and how in the world does this run? I can see two changes that you have to make off the bat, first replace [code]#include<iostream.h> with just #include<iostream>[/code] no one uses .h anymore its been made redundent unless your compiler is …

Member Avatar for plobby
0
128
Member Avatar for ab_n00b

[QUOTE=StuXYZ;1051345]Ok, for maths courses have a look at the MIT lecture page [URL="http://ocw.mit.edu/OcwWeb/Mathematics/index.htm"]http://ocw.mit.edu/OcwWeb/Mathematics/index.htm[/URL]. [/QUOTE] Take about going from 0 -> 100 in 0.0 seconds :D

Member Avatar for kenji
1
114
Member Avatar for Tamaki

I glimpsed at you problem and I'm not sure why you would use recursion when a loop is better and easier.

Member Avatar for Tamaki
-1
76
Member Avatar for sahasra
Member Avatar for raigs
Member Avatar for kenji

Hi, I have slogged my way through, Mark Lutz's Learning Python it is a great book but the problem I have with it is that it doesn't have any practical programing question like the dietel books. Can you guys please tell me a few books with questions that follow the …

Member Avatar for Stefano Mtangoo
0
69
Member Avatar for atman

Um..."while" and "for" come to mind, just need to use a little creativity. Its not that hard.

Member Avatar for ArkM
0
325
Member Avatar for ss20090612

If you plan on studying python get this as well. [URL="http://www.swaroopch.com/notes/Python"]http://www.swaroopch.com/notes/Python[/URL]

Member Avatar for kenji
0
288
Member Avatar for Buckers

[QUOTE=Salem;873855]> Are you tired of being called a geek? Are you fed up of being free tech support for an extended family? Do you secretly want a more "manly" job outside, say [URL="http://www.geocities.com/fang_club/lumberjack_song.html"]lumberjack[/URL]? [/QUOTE] lol :P

Member Avatar for kenji
0
117
Member Avatar for IT_wannabe

I don't think that there is a right or wrong in psudo code, unless ofcourse your doing something really stupid in it.

Member Avatar for Narue
0
124
Member Avatar for redmaverick

Trust me, this is the best place to get help. Especially for such a simple problem.

Member Avatar for KevinADC
0
128
Member Avatar for kenji

I bought a bunch a cheap books on Python and am wondering whether I should read them as Python 3 introduced changes to the language and so to speak broke old code as far as I can tell. I am reading Programing in Python 3, and after that I was …

Member Avatar for kenji
0
134
Member Avatar for cool_aj

Alternatively download and use Code::Blocks IDE or Visual Studios Express both are excellent alternatives.

Member Avatar for cool_aj
0
130
Member Avatar for sowmyav

Try the LWP module, its clean and highly efficient, you just need to make sure that you put in checks to see that you receive the proper data.

Member Avatar for kenji
0
132
Member Avatar for kenji

Hey, I have used the LWP:\:Simple module and saved the source of a website in a file. I am trying to extract all the data between the <head> tags and pass it to a variable to process. So far I can't seem to extract the data properly. Any suggestions? [code=Perl] …

Member Avatar for KevinADC
0
167
Member Avatar for kenji

Hello, This is for an assignment I have to do, I have completed most of it just can't get one part to work correctly. The assignment is: The TextFieldLoader class will have only one constructor and MUST accept the following parameters only: 1. filename (const char *) that will be …

Member Avatar for tux4life
0
99
Member Avatar for kenji

Hey, I have a program that has 5 files, 2 header files called: [icode] console.h screen.h [/icode] and 3 source files called: [icode] a2main.cpp screen.cpp console.c //not a typo [/icode] When I copy the [icode]main[/icode] from my a2main.cpp file to my screen.cpp my program compiles without a problem. But when …

Member Avatar for Ancient Dragon
0
298
Member Avatar for smitem03

Please use the code tags properly and preview your post. [noparse][code=C] [/code][/noparse] And run your program and see what comes up, at a glance it seems ok. PS. remove the \ in the code tag I have shown.

Member Avatar for jephthah
0
91

The End.