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.

0 Endorsements
Ranked #4K
~1K People Reached
Favorite Forums
Favorite Tags
c++ x 26
Member Avatar for AssaultM16

Hi!. I am having some problems with functions scopes again. I need to use one array initialized in one function, in a different function. I have searched on how to pass the array by reference or value ( and I truly don't know if that's what I need) but I …

Member Avatar for AssaultM16
0
102
Member Avatar for bynaridoom

Ok, I'm a bit confused on this whole thing, I guess I just need another brain on this. Each line in my CSV file reads something like this: LAV32,Aluminum RTV Silicone 30/bx,T614A,Lavanture,12 Now, LAV32 would be the id tag that would be read by a barcode scanner. What I need …

Member Avatar for bynaridoom
0
98
Member Avatar for AssaultM16

So I am trying to use multiple source files for my text based game. In Code::Blocks in doesn't even compile it says " cannot find -lfunctions.h". In Dev-C++ it compiles but the function doesn't work properly Here is the code Main.cpp [CODE]#include <iostream> #include <string> #include <fstream> #include "functions.h" using …

Member Avatar for AssaultM16
0
96
Member Avatar for AssaultM16

Hi! I have two questions about functions. First how can I use a main() local variable in a function outside of main? And how can I use a variable in the function paramaters which already has stored information (stored in main() ), and not have to give it new information …

Member Avatar for mrnutty
0
97
Member Avatar for ryBowk

hey all. this is (if i remember correctly) my first post, i have done alot of reading on this forum though and have found the info invaluable. my program is a calculater that calculates the amount of sheets of plasterboard and bags of plaster needed for a wall, firstly: have …

Member Avatar for ryBowk
0
137
Member Avatar for Smoking Bros

Hello guys! I'm new at C++ (started yesterday) but I'm a fast learner and I think I got pretty far with this noob project! The only thing I need to do is to make C++ open my .txt file and the beta version of this application is done! By the …

Member Avatar for AssaultM16
0
221
Member Avatar for jake43

I have an issue with this assignment, the instructor says that I use the brackets incorrectly that is why the program will not compile. Please provide feedback to correct program. #include <iostream> using namespace std; int main() { system("color 4"); restart: int number, ans; number = rand() % 100 + …

Member Avatar for Salem
0
199
Member Avatar for scarypajamas

I'm doing some math with floating point numbers and I'm getting weird results. For instance, the result of one of my math problems has an "e" and "+" in it. -4.49255e+013 How do I make it display a value without the weird "e" and "+"

Member Avatar for necrolin
0
108
Member Avatar for AssaultM16

So here is how the program should work: It should accept a string in which there is a full operation (ex. 23 + 34) it should split the string into three parts. The first and the third part should be the numbers and the second should be the operation sign. …

Member Avatar for AssaultM16
0
98
Member Avatar for AssaultM16

I was wondering. Is there any function like strtok to split into tokens a string, which is c++ standard? Also is there a way to store those tokens into separate char arrays? Thank You

Member Avatar for AssaultM16
0
154