Search Results

Showing results 1 to 39 of 39
Search took 0.01 seconds.
Search: Posts Made By: Dannyo329 ; Forum: C++ and child forums
Forum: C++ 27 Days Ago
Replies: 1
Views: 200
Posted By Dannyo329
How do you make a C++ Program run at start up? I'm using Vista, and when I right click the start button and press open, it comes up with my programs in the start menu, how do I get to the Start up...
Forum: C++ Jul 16th, 2009
Replies: 9
Views: 375
Posted By Dannyo329
There's a Quite alot of Problems in there, for example in many places you put:


if (answer1 == 'y')
{
count1 =2 ;
else
count1 = 0 ;
...
Forum: C++ May 13th, 2009
Replies: 2
Views: 346
Posted By Dannyo329
Thanks, but I'll just stick to the system() command for now, I'm feeling confused with iterators
Forum: C++ May 12th, 2009
Replies: 2
Views: 346
Posted By Dannyo329
Hey, Im trying to get the user to type in a file name, and then the program will copy the file to some where else like C:\ or USB or something.
So far this is what I've come up with:


#include...
Forum: C++ Apr 25th, 2009
Replies: 3
Views: 375
Posted By Dannyo329
Thanks guys, it works great now.
Forum: C++ Apr 24th, 2009
Replies: 11
Views: 550
Posted By Dannyo329
Why don't you just put the text file in your hard drive like D:\ or something? Then the program will work on every user on the computer.
Forum: C++ Apr 24th, 2009
Replies: 18
Views: 1,208
Posted By Dannyo329
Edited the code, try again,
Forum: C++ Apr 24th, 2009
Replies: 18
Views: 1,208
Posted By Dannyo329
int array[10]={1,5,6,2,4,5,7,8,5};

int n=0;
int p;
while (p!= '\0')
{
n++;
p = array[n];
}
Forum: C++ Apr 24th, 2009
Replies: 18
Views: 1,208
Posted By Dannyo329
Do you mean to check how many elements there are in an array?
Forum: C++ Apr 24th, 2009
Replies: 11
Views: 550
Posted By Dannyo329
I don't really get what you are asking, do you mean you have the test.txt file on the desktop and the code for opening it is for a user, but you want to open the file again on another user?
Forum: C++ Apr 24th, 2009
Replies: 3
Views: 375
Posted By Dannyo329
Hi, I have a question with ofstream, is there anyway to ask the user for a file name, then create the file, and write to it?
Like:

string file;
cout << "Enter filename:";
getline(cin, file);...
Forum: C++ Jan 17th, 2009
Replies: 2
Views: 542
Posted By Dannyo329
Does anyone know a decent site for studying about ctime(or time.h) in c++ thats good and doesn't end up telling you its in C?:@ :-/
Cos' when I search on google and I when thought I had found a...
Forum: C++ Jan 3rd, 2009
Replies: 1
Views: 231
Posted By Dannyo329
I'm working with structures, but somehow it skips one of the user inputs for the pie's price:
#include <iostream>
#include <windows.h>
#include <string>
#include <conio.h>

using namespace std;...
Forum: C++ Nov 26th, 2008
Replies: 3
Views: 306
Posted By Dannyo329
But what about opening a window with some website in it?
Forum: C++ Nov 25th, 2008
Replies: 3
Views: 306
Posted By Dannyo329
Ok, Im not trying to be evil or anything but is there anyway I could use C++ to open a website in a window, then record what the user types? So the website is google, and some random guy decides to...
Forum: C++ Sep 10th, 2008
Replies: 8
Solved: getch() problem
Views: 1,636
Posted By Dannyo329
Forum: C++ Sep 10th, 2008
Replies: 6
Views: 550
Posted By Dannyo329
Go eat a can and put your best effort in to it.
Forum: C++ Sep 10th, 2008
Replies: 8
Solved: getch() problem
Views: 1,636
Posted By Dannyo329
:) Oh, wait. I put these "" instead of these '' when I tried out the code you've posted. Thanks it works fine now, but is there any reason that I should put this in?
const int ESC = 0x1B;
And this...
Forum: C++ Sep 8th, 2008
Replies: 8
Solved: getch() problem
Views: 1,636
Posted By Dannyo329
There's a compiler error saying something like this:
ISO C++ forbids comparison between pointer and integer
Forum: C++ Sep 4th, 2008
Replies: 8
Solved: getch() problem
Views: 1,636
Posted By Dannyo329
Well its partly of my friends, when I show them the program I've made, then something tells them to press 1, so they press 1 but not enter....

And no, that


doesn't work. Now it somehow skips...
Forum: C++ Sep 4th, 2008
Replies: 13
Views: 1,109
Posted By Dannyo329
Why even bother reading the signature?(although you got to admit, some are pretty funny)
Forum: C++ Sep 4th, 2008
Replies: 8
Solved: getch() problem
Views: 1,636
Posted By Dannyo329
I just knew about getch() and found it better than cin (a lot) but there's one problem bugging me, can you makea n if statement for getch()?
For example they have:

int a;
cin >> a;
if (a == 1)...
Forum: C++ Jul 18th, 2008
Replies: 8
Views: 2,035
Posted By Dannyo329
It works now, thanks.
Forum: C++ Jul 18th, 2008
Replies: 8
Views: 2,035
Posted By Dannyo329
Well. I 'm trying to get a program in C++(MS-DOS) to open another .exe file. I thought there might have been a way with the:
system ("main.exe") ;
to call it, but somehow it does not work and its...
Forum: C++ Jul 2nd, 2008
Replies: 5
Views: 537
Posted By Dannyo329
Thanx for the Help. Your suggestion solved the errors!
Forum: C++ Jun 30th, 2008
Replies: 5
Views: 537
Posted By Dannyo329
I 've linked the two files together, main.cpp and myClasses.h, I've declared a variable, but what I'm asking is can you access a variable from myClasses.h?

Here's a example of what I got so far:
...
Forum: C++ Jun 27th, 2008
Replies: 6
Views: 2,481
Posted By Dannyo329
I've been trying to fix a problem with getline() and cin.getline().Here's a example I've made and it still has the problem:
" No matching function to 'getline(std::istream&, char[100])' "

Here's...
Forum: C++ Jun 12th, 2008
Replies: 6
Views: 595
Posted By Dannyo329
The one in Dev-C++. (not sure what its called)
Forum: C++ Jun 11th, 2008
Replies: 6
Views: 595
Posted By Dannyo329
Yeah, Thats exactly what I want, but how do you link the object files together to make a single executable program? And when I tried making the two files, and putting the code on to them, it didn't...
Forum: C++ Jun 4th, 2008
Replies: 6
Views: 595
Posted By Dannyo329
What i'm trying to do is, basically, link one C++ File, to another. For example, first i have a cpp file, like, main. And I want to have a part where the user chooses something then the other cpp...
Forum: C++ Jun 2nd, 2008
Replies: 1
Views: 328
Posted By Dannyo329
I am trying to get a program so that its sort of like downloading something, when it shows you the % and stuff, in which it goes up. I've been trying to get it to work, but what I done always doesn't...
Forum: C++ May 13th, 2008
Replies: 8
Views: 668
Posted By Dannyo329
Thanks, but is there any way to link to a function or something? not just using it for something like: Add() and stuff.
Forum: C++ May 11th, 2008
Replies: 8
Views: 668
Posted By Dannyo329
There's 50 pages, but I'll try and look throught them....
Forum: C++ May 11th, 2008
Replies: 8
Views: 668
Posted By Dannyo329
Hey Everyone.
Is there any way to make a sub? For example there's int main(), can I make something else like int menu() and sort of link int main to int menu? I have no idea how to do this.:-/
Forum: C++ May 8th, 2008
Replies: 4
Views: 665
Posted By Dannyo329
I changed some bits but, hey, it works for me.
I use Dev-C++

Try this:

#include<stdio.h>
#include<conio.h>
#include<iostream>
#include<windows.h>
Forum: C++ May 8th, 2008
Replies: 3
Views: 495
Posted By Dannyo329
I'm using win32, and I'm just trying to put any image on, with words as well.
Just like a babyish picutre book.......
Forum: C++ May 5th, 2008
Replies: 3
Views: 495
Posted By Dannyo329
Is there any way to add images onto your program?
I'm using Dev-C++


Thanx
Forum: C++ May 1st, 2008
Replies: 5
Views: 710
Posted By Dannyo329
Well, here (http://www.programmersheaven.com/download/31831/download.aspx)'s the link to Download it anyway:
Forum: C++ May 1st, 2008
Replies: 5
Views: 710
Posted By Dannyo329
Do you want Dev-C++ IDE or do you just want Dev-C++?
Showing results 1 to 39 of 39

 


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

©2003 - 2009 DaniWeb® LLC