Search Results

Showing results 1 to 40 of 58
Search took 0.01 seconds.
Search: Posts Made By: Dannyo329
Forum: C++ Jul 16th, 2009
Replies: 9
Views: 324
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: 322
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: 322
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: 365
Posted By Dannyo329
Thanks guys, it works great now.
Forum: DaniWeb Community Feedback Apr 24th, 2009
Replies: 5
Views: 641
Posted By Dannyo329
Its been a while since i realised i didn't know how to mark one of my threads as solved.:$ Any help will be appreciated...:)
Forum: C++ Apr 24th, 2009
Replies: 11
Views: 507
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,026
Posted By Dannyo329
Edited the code, try again,
Forum: C++ Apr 24th, 2009
Replies: 18
Views: 1,026
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,026
Posted By Dannyo329
Do you mean to check how many elements there are in an array?
Forum: C++ Apr 24th, 2009
Replies: 11
Views: 507
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: 365
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: 477
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: 222
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: 297
Posted By Dannyo329
But what about opening a window with some website in it?
Forum: C++ Nov 25th, 2008
Replies: 3
Views: 297
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,507
Posted By Dannyo329
Forum: C++ Sep 10th, 2008
Replies: 6
Views: 523
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,507
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,507
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,507
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,073
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,507
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: HTML and CSS Sep 2nd, 2008
Replies: 6
Views: 852
Posted By Dannyo329
And one more thing. Please don't double post.

http://www.daniweb.com/forums/thread143338.html
Forum: HTML and CSS Sep 2nd, 2008
Replies: 6
Views: 852
Posted By Dannyo329
I hear you can do that in javascript but other wise i have no idea
Forum: HTML and CSS Sep 2nd, 2008
Replies: 6
Views: 1,426
Posted By Dannyo329
I would reccommend 600x800pixels or 1152x864. (welll thats wat my laptop uses anyway...)
Forum: C++ Jul 18th, 2008
Replies: 8
Views: 1,940
Posted By Dannyo329
It works now, thanks.
Forum: C++ Jul 18th, 2008
Replies: 8
Views: 1,940
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: 525
Posted By Dannyo329
Thanx for the Help. Your suggestion solved the errors!
Forum: HTML and CSS Jun 30th, 2008
Replies: 6
Views: 1,035
Posted By Dannyo329
Is ariel a font? I've only heard of arial.
Forum: C++ Jun 30th, 2008
Replies: 5
Views: 525
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,275
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: 566
Posted By Dannyo329
The one in Dev-C++. (not sure what its called)
Forum: C++ Jun 11th, 2008
Replies: 6
Views: 566
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: 566
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: Windows NT / 2000 / XP Jun 4th, 2008
Replies: 10
Views: 1,007
Posted By Dannyo329
I would go with corrupted Disk. Make sure the disk isn't scratched.
Forum: HTML and CSS Jun 4th, 2008
Replies: 4
Views: 4,310
Posted By Dannyo329
For these type of menus and stuff, its best to use javascript. Even though I don't know alot of javascript, I'd recommend it. Try Google and search how to do that. Although I have never heard of...
Forum: C++ Jun 2nd, 2008
Replies: 1
Views: 318
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: 653
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: HTML and CSS May 12th, 2008
Replies: 4
Views: 759
Posted By Dannyo329
Use Marcomedia Flash Professional 8 or in mx, is best for making any sort of menus. Although I don't use Flash That much, I have been told its good and easy to use. Or use just Marcomedia Flash 8,...
Forum: HTML and CSS May 12th, 2008
Replies: 4
Views: 855
Posted By Dannyo329
I do not know any WYSIWYG Editors, I never tried Dreamweaver, but my friend says its good Editor. Or use Microsoft Expression web2 or 1.

Advice:
Actually learn HTML and use Micorsoft Expression...
Showing results 1 to 40 of 58

 


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

©2003 - 2009 DaniWeb® LLC