Hey, I'm not an experienced programmer but I was using Dev when I started a few months ago and I didn't like it for the reasons you stated. I am using Microsoft's Visual C++ 6.0 now and I like it...
Type: Posts; User: jjj93421
Hey, I'm not an experienced programmer but I was using Dev when I started a few months ago and I didn't like it for the reasons you stated. I am using Microsoft's Visual C++ 6.0 now and I like it...
now flip your name upside down and change your join date to 1000 B.C.
it repeats 990 times to do permutations.
did I make a wrong move in my post ?
Thanks prog-bman for the info. I will probably use it.
Anyone know the limitations on how many values can be inputted into an excel file or notepad...
jesus, I said go easy on me.
My calculations weren't correct. The main loop is only going around 990 times. 990 != 1.19 x 10^56 . I said I was new at this.
I am very new. I've...
My program is almost done but it is very slow. I wrote it in C++ . I am new at this and this is the biggest program I've ever written. I probably wrote some things the long way. I heard that...
Thank you so much for this. You were very quick and I appreciate that.
Now back to my program
I know how to assign values to a one-dimensional array.
How do you assign values to a 2 dimensional one ?
for example
cards[9]={1,2,3,4,5,6,7,8,9};
but for 2 dimensional ?
I'm certainly no expert at C++ but I just tested my program and :
if (a==1 && b==1)
c=1;
works. You could probably do it either way.
oh,
maybe I didn't figure it out
I got this on my program and it compiled finally
if (a==1 && b==1)
c=1;
ok. I figured that one out. Anyone know why I would only get one error and it says "unexpected end of file found " ? I was looking at my brackets and they all look good.
I end my file with ...
hi.
I'm trying to write a statement that says:
if ( a=1) and (b= 1)
then
store 1 in c .
my code works. I've gotten quite far tonight. Farther than I ever have. I guess you need a passion for it to really code. I got passion for what I'm currently doing. I'm just coding for...
I got it. Nevermind. Yeah, feels good to fix something even if I just took someone elses header file to do it.
I found a round.h header file.
Question about the modf function from math.h. It uses double instead of float. It can't be used with a float variable . Correct ? Is there any function similar to this that can ? The problem...
So the actual function body can't be in a header file ?
Ok, well, that is what I was doing wrong then.
Bubba, are you self-taught?
Did you take any classes on programming ?
some please help a newbie. I know that you all know exactly what you are doing and can code like crazy.
I on the other hand....
Do I need classes to say break a program up into smaller parts...
ok,
question:
If I'm planning on breaking up a program that is a single file and put the functions in other files, do I need classes to do that?
actually, I'm having a lot of problems......
Compiling...
bitmapanim.cpp
c:\program files\microsoft visual studio\myprojects\bitmap anim (broken up)\bitmapfunct.h(12) : error C2065:...
the error happens in the bitmapfunct.h header file. You are right. Sorry here is the code where the error actually occurs.
/*
header file bitmapfunct.h
*/
#ifndef bitmapfunct_h
I'm just beginning to learn about moving functions out of the main program.
I've got a BITMAP_FILE_PTR undeclared identifier error in MSVC 6.0 .
I created a header file called bitmapfunct ...
thanks
just wish I could save the web page. It keeps telling me that it can't save to the specified location.
I am starting a basic animation program using direct x. The functions of it, I want to put in another source file or header file to make the program as short as possible for readability purposes....
It doesn't seem that way at my library. You have understand that I knew almost nothing about a month ago. Now I'm loading bitmaps ( :) ) Soon I'll have a finished game that I can show you guys....