Welcome, Guest. Please login or register. Did you miss your activation email?

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - Hamed

Pages: [1]
1
Network / Packet with fixed size
« on: February 20, 2013, 12:39:56 pm »
Hello,
I want to send "Hello World" to UDP server but with fixed size so I did:
socket.send("Hello World",256,udpServer1,port);
 
It send packet with size 256 byte but it fill empty part with random character but I need blank with in hex show I get 0000.

I use winSniff to check packets structure.

2
General / OpenGL VBO extention unaviliable
« on: February 01, 2013, 10:59:26 am »
Just I reinstall codeblocks and SFML after that I get VBO extention unaviliable.
This is my code and output attached.
//Normal include
#include <iostream>

//SFML include
#include <SFML/Graphics.hpp>
#include <SFML/OpenGL.hpp>

//GUI include
#include <SFGUI/SFGUI.hpp>

//Namespace define
using namespace std;
int main() {
        // Create the main SFML window
        sf::RenderWindow app_window( sf::VideoMode( 800, 600 ), "SFGUI Notebook Example", sf::Style::Titlebar | sf::Style::Close );

        return EXIT_SUCCESS;
}

 

3
Window / Joystick problem?
« on: January 31, 2013, 04:05:04 pm »
Hello,
I have one Twin USB Joystick(Human Interface Devices).
Each joystick have 12 buttons.
Now I test number 0-200 and I can not find it.
I found some joystick with 4752 buttons.


OS: Windows Seven 32 Bit
IDE:CodeBlocks
Compiler:MinGW 4.7.2
SFML:2.0 RC

4
General / Can not compile 1st application
« on: January 30, 2013, 03:34:47 pm »
I follow :
http://www.sfml-dev.org/tutorials/2.0/start-cb.php
and I install SFML now when I want to run my program I get error and I attach my error.
Also when I use "Debug / Continue" I get:
#0 691C4AF9   sf::VideoMode::VideoMode(unsigned int, unsigned int, unsigned int) () (C:\CPP\FA\bin\Debug\sfml-window-2.dll:??) #1 00401416   main() (C:\CPP\FA\main.cpp:5)

[attachment deleted by admin]

Pages: [1]
anything