Posts
 
Reputation
Joined
Last Seen
Ranked #515
Strength to Increase Rep
+4
Strength to Decrease Rep
-1
82% Quality Score
Upvotes Received
5
Posts with Upvotes
4
Upvoting Members
5
Downvotes Received
1
Posts with Downvotes
1
Downvoting Members
1
4 Commented Posts
~19.7K People Reached
About Me

I'm a college student, studying for my degree in Computer Science. I was a Biology major for 3 years before deciding to switch, as computers have been a life long passion of mine. I've programmed, atleast a little bit, in: HTML, CSS, PHP, and JavaScript…

Interests
Modifying and working on cars I also enjoy any computer work, especially programming and working with…
PC Specs
CPU - Intel Core2 e6300 (1.86Ghz) Memory - 4GB DDR2 @ 667Mhz Mobo - EVGA 680i Disk - 64GB SSD x86_64…
Favorite Tags
c++ x 49
Member Avatar for mitch9654

Hello, I am trying to make a calculator that does multiplication, division, addition and subtraction. My problem is that when I have the two numbers that have decimals it goes wonky. Anyway, that program runs like this: 1. User enters equation 2. Unwanted characters get thrown out 3. If operation …

Member Avatar for chary8088
0
244
Member Avatar for ankit894u

[CODE]#include <cstdlib> #include <iostream> #include <string> #include <fstream> #include <sstream> #include <cstring> using namespace std; int main(int argc, char *argv[]) { fstream filestr; for (int i=1; i<=17771;i++) filestr.open ("mv_0000001.txt", fstream::in | fstream::out | fstream::app); filestr.close(); system("PAUSE"); return EXIT_SUCCESS; }[/CODE] guys i m trying to create multiple text files to the …

Member Avatar for ankit894u
0
265
Member Avatar for josolanes

Long story short... I wrote a CLI events calendar for Linux in C++ (one of my first major C++ programs), and it came to around 2400 lines of code. I've been working on it for a few weeks now getting things just right. I just finished getting a decent working …

Member Avatar for josolanes
0
230
Member Avatar for miskeen

Hello, I have to use an array, but its length is unknown at the beginning of the program. Is it possible to create such array and after that give it the desired length? Thank you!

Member Avatar for miskeen
0
15K
Member Avatar for vbx_wx

hi , i have a function parameter that i need it to be a char and also a const char* . can anyone help me? [CODE] void write(...) // ??? { } //.............................. if(somethin) { write('c'); } else write("string"); [/CODE]

Member Avatar for mrnutty
0
103
Member Avatar for Arslan Khan
Member Avatar for heynow12

I cannot figure out what this error message means? [code] #include <iostream> using namespace std; double max_array(const double x[], int max_val); int main (void) { int i, max_val; double x[max_val]; double array_avg, array_max, array_min; cout<<"Enter likely number of values: "; cin>>max_val; cout<<"Enter values seperated by white space:"; for (i=0;i<max_val;i++) cin>>x[i]; …

Member Avatar for josolanes
0
1K
Member Avatar for josolanes

I'm using [this website](http://stdcxx.apache.org/doc/stdlibug/33-3.html) as a reference and am modifying some code to (hopefully) have it work the way I'd like it to. I *think* I'm close, but since I have no experience with custom paramaterized output manipulators (and have limited experience with custom output manipulators even) I'm kind of …

Member Avatar for josolanes
0
342
Member Avatar for josolanes

Hi, I'm writing a "Date" class and it's fully functioning, including the output manipulators, but the issue I have is when creating a class the has a "Date" instance in it. It, then, doesn't compile because it says there are multiple definitions of the manipulator functions. I'll lay out, below, …

Member Avatar for josolanes
0
99
Member Avatar for josolanes

To start off, I am in no way affiliated with this site. I'm just excited to see something like this finally show up as I had been looking for this for a few months now (on-and-off) and stumbled upon it today :) [URL="http://codepad.org"]codepad.org[/URL] is "an online compiler/interpreter, and a simple …

Member Avatar for jwenting
0
120
Member Avatar for ccaatty

This is just out of curiosity! Does anyone know what is the maximum number of characters that a line of code can have? EDIT: Added more details. Is it possibly possible to make two lines become one? .... This seems pretty odd, I dont know how to explain it, but …

Member Avatar for cassandy
0
90
Member Avatar for josolanes

Okay, I've been working on my own version of a Date class and I had it working before but thought I'd try to revise the code a little at a time, after reading "Effective C++: Third Edition" by Scott Meyers I'll start with the code as I'm not too sure …

Member Avatar for mitrmkar
0
133
Member Avatar for vijayan121

Question posed by josolanes: [quote]I looked at your thread here: [url]http://www.daniweb.com/forums/thread88255.html[/url] from a couple years back And I'm starting to get a grasp of your first post. I understood how to do the factorial struct really quickly, but the _if and _for statements still make me feel uneasy, though I …

Member Avatar for josolanes
1
164
Member Avatar for thedonflo

I really need help with this project. 1) Write a program that uses a switch program structure 2) Upon user input your switch structure shall calculate and display one of the three loops for loop, while loop, and do-while loop calculations.

Member Avatar for Stefano Mtangoo
0
110
Member Avatar for josolanes

I'll do my best to be as clear as possible about what I'm trying to do. In short, I'd like to know if a switch statement can check multiple variables simultaneously (I have a feeling it can't, but I'd like to confirm). If it can't, can someone recommend a way …

Member Avatar for josolanes
0
1K
Member Avatar for josolanes

HI, my name is Josh. I'm 23 and am going to school for Computer Science My hobbies include: working on cars (modifying them and all DIY work), and almost anything computer related. I especially enjoy working with the various Linux distros (currently using Gentoo) and also really like programming as …

Member Avatar for josolanes
0
67
Member Avatar for josolanes

Memo.h: [CODE=cpp] #ifndef _MEMO_H #define _MEMO_H #include <stdlib.h> #include <string> #include <typeinfo> #include <iostream> #include "Date.h" #include <map> #include <vector> using namespace std; class Memo { public: map<Date, vector<string> > Appointment; //void delMemo(int x); void addMemo(Date myDate,string x); }; #endif /* _MEMO_H * [/CODE] Memo.cc [CODE=cpp] #include <stdlib.h> #include <string> …

Member Avatar for josolanes
2
214