Jump to content

  • Log In with Google      Sign In   
  • Create Account

brightening-eyes

Member Since 20 Oct 2013
Offline Last Active May 10 2016 12:43 AM

#5290809 Operating System Questions in Assembly

Posted by brightening-eyes on 09 May 2016 - 09:15 AM

hello,

i recommend you to checkout

here

and

here

you will find many tutorials there




#5290090 sending and receiving struct using eNet and boost.serialization

Posted by brightening-eyes on 04 May 2016 - 10:56 AM

hello,

this problem has been fixed

thanks for your helps

the problem was that, i wanted to serialize an empty stream to my g (a gamedata* local variable(better to say pointer))

and that exception occured

thanks in advance for your helps




#5264065 MyClass myClass VS myClass = new MyClass()

Posted by brightening-eyes on 29 November 2015 - 02:54 AM

hello,

in my idea, if you want to use new to allocate dynamic memory, it is best to work with smart pointers, because if you forgot to delete the class, you might ran into memory leeks

but please note that shared_ptr, unique_ptr, weak_ptr and auto_ptr are different

and, i agree with juleian in post #2

but please note that both stack and heep are limited

if you want to get more stack space, you would need to use multi threading

every function needs to be in it's own thread

but as others have said, it depends on situation to use stack or heep




#5257178 c++ code not working

Posted by brightening-eyes on 14 October 2015 - 01:35 AM

hello

as people have said, don't use bloodshed dev-C++

it hasn't been updated for years

use code::blocks or orwell dev-C++ instead

they have MinGW compiler v4

or if you want to use version 5 of MinGW, install MinGW-w64 and tell it's path to your ide

Dev-C++, Visual Studio and Code::Blocks are IDEs, but GCC or MSVC are compilers

and, please paste all of your errors here, then we can know what is your problem and we can tell you how to fix it




#5174232 C++ Runtime Error With Odd Workaround

Posted by brightening-eyes on 17 August 2014 - 02:37 AM

hi,

i must say first of all build a debug version of your application, then debug it

if an error occurs, you can fined it easyly




#5125830 Game Engine for card game

Posted by brightening-eyes on 23 January 2014 - 04:21 AM

I recommend to use C++ for developing this game or make a game engine and use your engine to develop your game


#5103670 3D Game Engine Design Specifically for Action/Action RPG, Where Should I Start?

Posted by brightening-eyes on 23 October 2013 - 06:10 AM

it depend's on that you want to make a component that use's C++ or software that make's games

i explain boath of them:

component:

in this case, you have to use some librarys for sounds, image loading/saving, physics, math, AI, and more that you need

then write code depend on them

then compile them as static or shared library

software:

in this case, you must have a component, and a scripting library like angelscript or python or lua

then, register the functions and classes for it and compile it as a executable

then, write a script for your software and see it work's or not




PARTNERS