Search Results

Showing results 1 to 37 of 37
Search took 0.02 seconds.
Search: Posts Made By: Niklas ; Forum: C++ and child forums
Forum: C++ Oct 31st, 2006
Replies: 4
Views: 2,276
Posted By Niklas
Wow thank you so much. Though the fractions had to be implemented somehow in C++, just didn't know I had to declare the operation that was supposed to be distributed into them.

Anyways, thanks a...
Forum: C++ Oct 31st, 2006
Replies: 4
Views: 2,276
Posted By Niklas
Alright well this is supposed to be a basic Geometry calculator that uses set formulas to identify the "chosen" property of the figure by just pluggin in #'s that are used in that formula.

I have...
Forum: C++ Oct 5th, 2006
Replies: 3
Views: 2,036
Posted By Niklas
I am trying to make my program more easy to use and not have computer illiterate people struggle to install my program. My question is can a C++ program install ITSELF into another directory upon...
Forum: C++ Sep 30th, 2006
Replies: 5
Views: 1,336
Posted By Niklas
This is an older version of a calculator that I made when I was just srated. Look around and find some snippets you might like to see how they work or add to yours. For example use of the if...
Forum: C++ Sep 30th, 2006
Replies: 7
Views: 1,826
Posted By Niklas
Please note before reading this, this is a keylogger, no its not used for malicious purposes as it only runs with the programing prompt open and stops as soon as the program is exited. Just trying to...
Forum: C++ Apr 2nd, 2006
Replies: 14
Views: 2,170
Posted By Niklas
Forum: C++ Mar 31st, 2006
Replies: 14
Views: 2,170
Posted By Niklas
Let me clear things up a bit. I am making a scanner and I want it to save a logfile in the Documents/My Games folder.

What is the code line or snippet to specify that directory?
Forum: C++ Mar 30th, 2006
Replies: 14
Views: 2,170
Posted By Niklas
I am running windows XP special Pack 2 and I use Dev C++ Compiler.
Forum: C++ Mar 30th, 2006
Replies: 14
Views: 2,170
Posted By Niklas
Alright thanks for the info. Instead of making a new directory can it also be placed in an existing one.
Forum: C++ Mar 30th, 2006
Replies: 14
Views: 2,170
Posted By Niklas
Is there a specific function in C++ to install/assign a file in a directory?
And if t here is are there any limitations to what it can distribute?
Are installation in multiple directories possible?...
Forum: C++ Dec 21st, 2005
Replies: 3
Views: 1,131
Posted By Niklas
I'm a novice programmer and even I can imagine in my head what this would look like. Bottom line dont be lazy and have us do your homework for you. Its novice programmers like you who give others...
Forum: C++ Nov 27th, 2005
Replies: 4
Views: 1,318
Posted By Niklas
Sorry but I was using a copy of an earlier program and trying to edit it. Do you mind explaining what I would do here



if (num1)//This is where im stuck I am trying to have it say "if num1 is...
Forum: C++ Nov 27th, 2005
Replies: 4
Views: 1,318
Posted By Niklas
I'm sorry I'm really new to C++ and although your concept may be right (just like all the other books) the problem I have is how to use them in my programs.
Forum: C++ Nov 26th, 2005
Replies: 4
Views: 1,318
Posted By Niklas
//Calculator Revision to say error when invalid character

#include <iostream>
using namespace std;

int main()
{
cout <<"Welcome to the 1.1 calculator by Niklas Kunkel";
cout <<...
Forum: C++ Nov 26th, 2005
Replies: 2
Views: 1,154
Posted By Niklas
Thanks for the help. Even though I will probably get stuck after the first 3 programs :(
Forum: C++ Nov 26th, 2005
Replies: 2
Views: 1,154
Posted By Niklas
I am a novice to C++ but I am trying to improve. Ive started reading quite a few books which include:

Learn C++ in 10 minutes - Jesse Liberty

C++ Game Programming - Michael Dawson

Im still...
Forum: C++ Sep 25th, 2005
Replies: 1
Views: 1,994
Posted By Niklas
Got one off of limewire
Forum: C++ Sep 25th, 2005
Replies: 1
Views: 1,994
Posted By Niklas
Ive searched through google and most are not free, and the ones that are are being declared have a virus inside by norton as well as ewido.

BTW im trying to do this because there was a PSP...
Forum: C++ Sep 25th, 2005
Replies: 15
Views: 2,609
Posted By Niklas
In other programs i see the header as a seperate file ****.h
Is that necesary to do or is it just for ease of use when declaring funtions and types instead of typing them in the main.cpp code.
Forum: C++ Sep 24th, 2005
Replies: 15
Views: 2,609
Posted By Niklas
Sorry about that then. In the example that you gave me you declared a, b, op, and ws

what was the ws mean and what was it for?

And something completely off topic but what do you use a header...
Forum: C++ Sep 24th, 2005
Replies: 15
Views: 2,609
Posted By Niklas
#include <iostream>

int main()
{
std::cout<< 12345 <<'\n';
}

Oh I get it now. In the example you gave me for the if statement of which operation to use you just had ' \ n and didnt put a...
Forum: C++ Sep 23rd, 2005
Replies: 8
Views: 1,541
Posted By Niklas
cin.ignore(numeric_limits<streamsize>::max(), '\n');
cin.get();

put that code right before return 0; and ur program will not exit untill you press enter.
Forum: C++ Sep 23rd, 2005
Replies: 15
Views: 2,609
Posted By Niklas
basic_ostream<T, Traits>& endl ( basic_ostream<T, Traits>& out )

gives me an invalid syntax error.
Forum: C++ Sep 23rd, 2005
Replies: 15
Views: 2,609
Posted By Niklas
#include <iostream>
using namespace std;

int main()
{
int a;
int b;
char op;

cout << "Please enter one number thne press enter then enter the second number";
Forum: C++ Sep 23rd, 2005
Replies: 15
Views: 2,609
Posted By Niklas
im really new to C++ and I never used char to declare a variable. I always used int but that wont work now cause int only works for numbers. Now what do you mean by char op; being a single char
...
Forum: C++ Sep 22nd, 2005
Replies: 15
Views: 2,609
Posted By Niklas
#include <iostream>
using namespace std;

int main()
{
int a;
int b;
char op;

cout << "Please enter one number thne press enter then enter the second number";
Forum: C++ Sep 22nd, 2005
Replies: 15
Views: 2,609
Posted By Niklas
Forum: C++ Sep 22nd, 2005
Replies: 15
Views: 2,609
Posted By Niklas
Okay Ive made a bunch of single use calculator programs (one for addition, subtraction, mutiplication, and division).

Addition Code
#include <iostream>
using namespace std;

int main()
{
...
Forum: C++ Sep 22nd, 2005
Replies: 1
Views: 1,369
Posted By Niklas
I found this site http://www.crushcalculator.com/cc.cgiid=1127355732zjg

it was a prank going around that made you enter the e-mail adress your name and 3 people you liked. It then sent you an...
Forum: C++ Sep 21st, 2005
Replies: 10
Views: 2,417
Posted By Niklas
Yeah I learned that in the book I was reading for beggining C++ and have been using it ever since.
Forum: C++ Sep 21st, 2005
Replies: 10
Views: 2,417
Posted By Niklas
What compiler are you guys using. Im using DEV C++compiler. For me it works it displys message to type in the 2 numbers. Type in first number press enter and it displays the first number = the...
Forum: C++ Sep 20th, 2005
Replies: 10
Views: 2,417
Posted By Niklas
EDIT: changed the source code again to figure out where the problem is. So now I can enter first number and it will display what num1 =. Now when I enter the second number it just exits. Now whats...
Forum: C++ Sep 20th, 2005
Replies: 10
Views: 2,417
Posted By Niklas
well I ran the program didnt work. I recompiled it and ran it and it still didnt work. My compiler must be screwed up im using DEC C++ that game with "Beginning C++ Game Programming" by Michael...
Forum: C++ Sep 20th, 2005
Replies: 10
Views: 2,417
Posted By Niklas
When I run the program It says "Please enter the 2 numbers that will be added" but when I try to enter a number and press enter it doesnt do anything it just keeps skipping lines. Why is it not...
Forum: C++ Sep 20th, 2005
Replies: 10
Views: 2,417
Posted By Niklas
:mrgreen: I've just started learning and doing examples out of the book but I wanted to see if I could actually make something besides just copying stuff out of a book. So I tried to make an addition...
Forum: C++ Sep 17th, 2005
Replies: 4
Views: 1,387
Posted By Niklas
I would get "Beginning C++ Game Programming" by Michael Dawson.
Although it has game programming in the title almost everything you learn can be applied to writing any application.
Forum: C++ Sep 16th, 2005
Replies: 54
Read Me: C++ Books
Views: 85,397
Posted By Niklas
Im currently Reading

Beginning C++ Game Programming by Michael Dawson

I just started but I really like this book because it goes at an evne pase and after every program explains what each...
Showing results 1 to 37 of 37

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC