- Strength to Increase Rep
- +0
- Strength to Decrease Rep
- -0
- Upvotes Received
- 2
- Posts with Upvotes
- 1
- Upvoting Members
- 2
- Downvotes Received
- 2
- Posts with Downvotes
- 2
- Downvoting Members
- 2
I am an avid computer enthusiast, specializing in Web Development and Systems Administration. I work with PHP, Java, C++, and SQL. I am currently seeking my Bachelors in Information Systems, focusing on Security Administration. After graduation (August…
- Interests
- Programming, Reading (Leisurely), Camping, Fishing, Drinking (Beer, mostly), Traveling, Beach, Mountains,…
- PC Specs
- MacBook Pro (4,1) and OS X 10.6.4Ubuntu LinuxWindows XP
Re:
I'm a beginner at c++ and i was given a certain assignment. A person enters a digit, and then this digit is multiplied by 4, but if the multiplied number is greater than 9 then we add its digits, and if the addition still give you greater than nine, then … |
|
Re:
hello it is easy program but there is a mistake in void application while printing the birthday, pt pointer gives a mistake why? [CODE]#include <cstdlib> #include <iostream> #include <conio.h> using namespace std; struct Date { int day; int month; int year; }; void printdate(Date* pt) { cout << "\nbirthday= "<<*pt->day<<"."<<*pt->month<<"."<<*pt->year; … |
|
Re:
Hi, Java has been my choice programming language for many, many years now, and I want to start doing C++. I've written in C++ before, but that was a while back. I'm treating myself as a beginner at the moment. I use Eclipse to write Java, and I recently updated … |
|
Re:
I have this problem that I can't figure out, I can't figure out the line statement that needs to go in. Here's the problem [code=c] struct NodeType { int data; NodeType* p; }; NodeType* p; NodeType* q; p = new NodeType; p->data = 18; q = new NodeType; q->data = … |
|
Re:
I am trying to say "if variable is NOT greater than or equal to, then do this" Here is how I tried to write it: [CODE]if(mouse_x !>= 300){ blah blah blah }[/CODE] But my complier doesn't like that. Does anyone know what I did wrong? Thanks. |
|
Re:
Check out my code on Pascal's triangle using C++. [CODE]#include "stdafx.h" #include <iostream> using namespace std; int pascals(int,int); int fact(int); int main() { int r,e,levels,space; cout<<"Enter the number of lines needed";cin>>levels; space = levels+1; for(r=0;r<=levels;r++) { // std::cout.width(space);//shape for(e=0;e<r+1;e++) { cout<<pascals(r,e)<<" "; } cout<<endl; space--;//shape } cout<<endl; cin>>r; return 0; … |
|
Re:
any particular reason why r=p(3,1); cout<<r; spits out 1? note ive tested z m and t only r gives one even though its the exact same code ? what gives ? [CODE] #include <iostream> using namespace std; int p(int x,int y){ //supposed to be a power operation if anyone knows … |
|
Re:
I'm not sure if this is the right place to post this, but I do use c++ so....yah. My problem is that I don't know what to do now. I'm certain I haven't mastered c++, but I think I've mastered the basics. So now I'm thinking "What now"? Is there … |
|
In a nutshell I am trying to write a program that will connect to a database, query several tables for various sets of data that will then be transformed into XML that is stored into a file on the local hard disk. My first thought process to solve this problem … |