Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

~9K People Reached
Member Avatar for AdRock

A few weeks ago my pc just cut out for no reason and when i tried to restart, there was no POST beep. I stripped it down completely and reconnected everything in case the mobo was getting shorted and put back together. After restarting there was still no POST. I …

Member Avatar for leo002000
0
113
Member Avatar for AdRock

I'm trying to help someone out with some javascript that works in IE but not in firefox. It's basically a filter so you select some options from select boxes and the javascript hides or shows any table cell that is not needed. The html is shocking and the javascript doesn't …

Member Avatar for theighost
0
196
Member Avatar for AdRock

I've got to write a code parser but am really stuck I have to read a file, process each token and output to a new file. Reading and writing to files isn't a problem, it's processing each token. What i've done is read the file and add each token to …

Member Avatar for dkalita
0
91
Member Avatar for AdRock

I have some code i've written and i need to splita string and assign the results to 2 variables type and value The first part of the string up to the : would the type and what is after the : would be the value When i output the variables …

Member Avatar for Ancient Dragon
0
90
Member Avatar for AdRock

I don't know if this is the right board for this but here goes I have finsihed writing my program and it compiles fine on windows using the MinGW compiler. Ihave it compiling and running fine I tried compiling on a linux machine to create an executable but i an …

Member Avatar for AdRock
0
172
Member Avatar for AdRock

I am trying to increment 2 variables in a for loop and i want the loop to exit when the highest value variable is reached My example [B]a [/B]gets the first element of a vector and [B]f [/B]gets the next. It needs to keep doing that until [B]f[/B] reaches the …

Member Avatar for AdRock
0
163
Member Avatar for AdRock

I have a 2D vector of different values. It could be text or numbers. I need to be able to see what is in the vector and to do something depending on what is in there. How do i access each element of the vector and add to a temp …

Member Avatar for AdRock
0
227
Member Avatar for AdRock

I have a string which i can break down into tokens but what i want it to do is if it reaches a '//' it breaks out of the loop so no more tokens are added I have tried using this but it doesn't work [CODE]while (p!=NULL) { if(p=="//") { …

Member Avatar for AdRock
0
176
Member Avatar for AdRock

I have got an example for cplusplus.com for converting a string into a char array so i can split in into tokens and adds to a vector and it works fine in the main method but if i try and create a separate function and pass a string as a …

Member Avatar for iamthwee
0
742
Member Avatar for AdRock

I have a string and I need to split the string into tokens The word can contain and letter/number but can also contain punctation such as brackets I need to be able to find an occurence of punctuation, copy the string up to that point as a token, copy the …

Member Avatar for Tom Gunn
0
252
Member Avatar for AdRock

I am reading a line of text from a file and need to split it into tokens. [QUOTE]This is a test and test number is: test(001)[/QUOTE] I need the tokens to be [QUOTE]This is a test and test number is : test ( 001 )[/QUOTE] How do i split a …

Member Avatar for Clinton Portis
0
357
Member Avatar for AdRock

I've bene banging my head against a brick wall trying to work out how to do this. I need to be able to read a text file line by line and to read each character of the line. When the character is a space, anything up to that is added …

Member Avatar for VernonDozier
0
255
Member Avatar for AdRock

I am still trying to come up with a simple solution where i add lines of words to a 2d array so i can pick an array element and display what is in that array I can read the lines of text and output which words are on which line …

Member Avatar for AdRock
0
175
Member Avatar for AdRock

I'm trying to get each line of text of a file split into words and then put into an array I found an exmaple oc cpluscplus.com and their example works but when i try to edit to make changes to read the line of text from a file i get …

Member Avatar for Murtan
0
2K
Member Avatar for AdRock

I have an inheritance heirarchy and I need to use polymorphism. I have some questions because i don't really understand it fully. What i have to do is create a vector of pointers (account) to 2 of my derived class objects, SavingsAccount and CheckingAccount. Then for each account in my …

Member Avatar for AdRock
0
2K
Member Avatar for AdRock

I have made a base class and a derived class and I am having a couple compile errors. [QUOTE]SavingsAccount.hpp(9) : error C2512: 'Account' : no appropiate default constructor available[/QUOTE] What i want to do is be able to give the savings account an inital balance and it changes the currentBalance …

Member Avatar for AdRock
0
154
Member Avatar for AdRock

I have a code snippet i've been working on but not getting very far. What I have is a text file which looks like an XML but i want to get the data between the tags and ignore the tags themselves. I want to count the number of data items …

Member Avatar for BevoX
0
156
Member Avatar for AdRock

I would like to know how i check the first character of each line before I either ignore it and move onto the next line or add it to an array. What i am looking for is tags like <. If the line begins with that i move onto the …

Member Avatar for ArkM
0
3K