hi. im working on some tutorials on c++ opengl and sdl. those tutorials are on eclipse and i think its on linux because as i heard sdl just works on unix platforms like linux. is it possible to work on it on windowss and visual studio? is the code diffrent or just the same? and for more question can i work with opengl and directplay or winsocket as base windows net library or just direct3d is pissible? thank you
changing platform on sdl
SDL and OpenGL are supported in Windows too and you can configure Visual Studio for that. The code should be the same, but if you use OpenGL only you'll need the Windows API to handle windows and user I/O.
is network and socket programing part of a sdl or its just about input and sound? what is the diffrence with openAL. what are our network api,s on diffrent platforms?
You can handle sockets and other thing to do concurrent and distributed programming with SDL. I've never used openAL, but I think it's an audio library. You can handle audio with SDL too, but maybe openAL is better for that, I don't know.
I'm not sure what you mean with "our network apis on different platforms", but you can use the network in a lot of ways, maybe you should be more specific in what you want to do and your target platform (not your development one).
Don't mean to be rude, but it sounds like you're new to programming in general, so maybe you should reconsider starting with sockets and networks, it's a really complex subject even for simple games.