Started out with half of one ofthese
and then blacking out for about 5 hours before going home an passing out.
I was hung over to the point where I passed out on the lawn at school for a few...
Type: Posts; User: Iamien
Started out with half of one ofthese
and then blacking out for about 5 hours before going home an passing out.
I was hung over to the point where I passed out on the lawn at school for a few...
If i remember correctly. createprocess has a method of returning the address of the new process.
You pass it a struct pointer to a struct PROCESS_INFORMATION
then read the info in that struct to...
It means We dont know but i tell you to go look up resource files =D
rofl
Anyone here know what Async means?
Asyncrohnos (sp) meaning that function returns right away, any continues playing, whats happening here is that you play your song, and return right away, so...
I played around, since i saw you were active.
PlaySound will not play a .mp3 from my experience.
I used a .wav, also i placed it in the same place as my .cpp and it works fine.
What you quoted...
In my experience, when you are compiling something and that something tried to access a file, unless you specify the entire path, it will look in your PWD ( present working directory) which to me...
From my perspective, a couple things are wrong with what you have done.
Firstly, a structure is to contain data, and then you have functions (possible of the global scope but not member functions...
#include <iostream.h>
change that to
#include <iostream>
using std::cout;
using std::cin;
or
using namespace std
I'm using the SDL for graphics. and i am trying to write a function for drawing a line,
this is what i came up with
When angles are extreem it doesnt draw quite right. i helped with problem by...
You can attach stuff, just look
What i would do
Have two functions for you console textbox. first puts text in there. second read text from there.
Should be simple enough, i dont know VC...
What i did,
I made a class to be the artist. its comprised of several primitive drawing functions. each of my classes <sprites> had a draw routine to which you pass an artist reference. the ...
I would use the sdl
http://www.libsdl.org/intro/usingsound.html
"code snippette from their site, play a tone"
Example:
#include "SDL.h"
#include "SDL_audio.h"
{
And the solution was that i have them including each other. Artist had no need for pane to be included so that cleared that up
Thanks all
i though having everything in #ifndef _FOO_ #endif pairs projected it from being included more then once
Yea those are reducded code version, full version is like 30 lieks for the interface...
I am trying to include my class Artist , whose interface is in Artist.h, in a class called pane.
i try including the header for artist, but my code gives me an undeclared identifier. I've used the...
Alright thanks
I come back with another question
I want to make a class in my project, to function as an "Artist" i plan to pass this class around to difference objects to have it draw them. Should i make him...
Thanks for all your responces..
Educational
just saw your post Shakti. i never knew, good to know, thanks :)
I ended up just making functions because i wasnt sure.
Interface:
#include "SDL.h"
#include <vector>
using std::vector;
For a class i am currently designing, called Pane, during a method i am using another pane to calculate my abs left and top coordinates.
my absLeft = parent.absLeft;
Would it be appropriate...
I second the recomendation on Koenig and Moo's book. excellent reading material
not the greatest reference, but you wouldnt need a reference much yet anyways
A
A
B
B
Arn't they essentialy the same?
So you are doing a letter by letter comparison, <just want to see if i understand you>
assuming
ABAS
ABABAS
seq1
A = 1, 3
This is about the only way i could think of to store values without using a struct or class, its messy imo.
#include <iostream>
using namespace std;
void getValues(void* arr[4], int &x,...