i finally figured it out.
this is what it needs to look like:
ShellExecute( NULL, "open", "iexplore.exe", URL, "C:\\", SW_SHOW );
Type: Posts; User: ReLiEnThAwK
i finally figured it out.
this is what it needs to look like:
ShellExecute( NULL, "open", "iexplore.exe", URL, "C:\\", SW_SHOW );
i cant find anywhere that tells me what these parameters do or control
so what your saying is in:
ShellExecute( NULL, "open", URL, NULL, "C:\\", SW_SHOW );
it should look like:
ShellExecute( NULL, "open", URL, NULL, "C:\\", SW_SHOW, iexplorer.exe );
???
...
nice program
how do you make the page open in a specific browser
say i have firefox set as my default browser but i want this specific page to open in internet explorer
how do i make it do this
i got it using that shellexecute function (i googled it ^^)
thanks
i want to know the specific code used to open a webpage. i was bored and decided to make a lil dos program that takes input for url and stuff and opens the page.
any help would be great. thanks
i cant remember because i havent programmed in quite a while, but can you do this:
if( (arr[0][0]=='X' && arr[0][1]=='X' && arr[0][2]=='X') || (arr[1][0]=='X' && arr[1][1]=='X' &&...
that makes no difference in the main loop of the program. that works fine. can you please help me with whats not working properly?
so i guess the question is why that particular code wouldnt do anything. why doesnt the X get put into the row and column that was given and then display it when the loop comes around again. and why...
yeah, thanks :/
me==noob....
NVM lmao i had it like this: sleep(500); but it was supposed to be Sleep(500); lol!
i am trying to use the sleep function but i keep getting
26 C:\Dev-Cpp\bin\introtest.cpp `sleep' undeclared (first use this function)
what header file is this function in?
okay so the problem is that for some reason, z never becomes anything other than 1 because it keeps saying it is player ones turn.
also,
if(z==1) //if its player 1's turn
{
...
i guess i wanted while ( z>=2 ) //internal loop to be while ( z<=2 ) //internal loop
less than or equal
hmm its always player 1... lets see here
i see the problem there...
got an infanent loop after input of names.. darn blinking white bar...
ohhhhhhh forgot about those, i really shud have not been a noob and looked for stupid mistakes before posting and wasting your time :/
thanks for the help
there really isnt any need for the std::
i thought using namespace std fixed this but maybe you need
#include <conio.h>
okay now it ran, but for some reason, the entire loop was completely skipped over. that cannot be since while(1) and the only way to get out of the whole thing is if the if statements inside are true...
omg, thats horrible i didnt realize that.
thanks.
okay so now i got this:
//Dan Kemper ([email protected])
#include <iostream.h>
#include <stdlib.h>
#include <conio.h>
#include <windows.h>
wow. i cant believe i missed that. i have been away from my compiler much too long. thanks.
im sure ill be back...
i was bored so i tried making a tic-tac-toe game in dos using c++ and i am having trouble finding when the person wins the game.
//Dan Kemper ([email protected])
#include <iostream.h>...
to make games you need to learn opengl right?
didnt he say 16 hours programming time?