|
by: K.S. |
last post by:
Have to clean up an old class library and have a string class with slightly
different functions. The interface I wrote works quite well except the
operator! Actually I only need sdl string operator but how can I call
it from the derived class. Someone any idea???
class MyString: public std::string
{
reference operator(size_type n) {return std::string::operator(n)}
// doesn't work
char& operator(size_type n) {return...
|
by: Joey \Ninwa\ Bleau |
last post by:
I'm not quite sure if this is the right place to place my problem but
it's one of the largest C++ groups I can find so I figure it has a
rather diverse crowd. That, and there's no SDL group I'm aware of and
the local IRC channel hasn't been able to help. I'm using SDL,
SDL_image, and SFont. I'm just toying around as of right now, very new
to the SDL scene, and an novice C++ programmer to boot. I managed to
write a small application using...
|
by: MPD |
last post by:
Hi, I'm new to the MPW (Mac Programmers Workshop -- Apple's now freely
avilable development tools for Classic Mac OS's) and wish to construct
a simple 2D game using MPW's C++ compiler and SDL.
However I don't know how to write a C++ makefile that initializes both
SDL and C++ (not C) in MPW. I have got the SDL examples that came with
the Mac Classic SDL Development Binaries to compile however they are
all written in straight C and as such...
|
by: Camilla |
last post by:
I'm making one of my first web services (with C#) and need help
getting started.
I have received an idl file and a sdl file that describes the
interface I need to implement... but how do I generate anything from
these files? It seems like I have to convert one of the files to a
wsdl file and then use wsdl.exe??
Thanks for your help!
(I wont be back to reed your answer until monday...so no hurry! :-)
|
by: Ivan |
last post by:
Hi all,
i', tryng to make this code work .....
it compiles but , when i exec, i've got Segmentation Fault
Where i was wrong???
(i'm using Gcc)
my C code:
|
|
by: Greg Ewing |
last post by:
Whenever I try to use the FreeSans font with SDL,
either through PyGame or Soya, I get disappointing
results. The characters come out slightly
higglety-pigglety -- randomly displaced up or down
a pixel or so from the baseline.
Something about the calculation of the font height
seems to be off, too.
The fonts that come with MacOSX don't have these
|
by: smartbeginner |
last post by:
I cannot view in the console what all i have included in printf() .Why
this?
Code:
#include<stdio.h>
#include<conio.h>
#include "SDL/SDL.h"
int main(void)
{
int x=1;
SDL_Event event;
|
by: birensubudhi |
last post by:
hey guys it is easy to do programming in graphics in 16bit TURBO C
compiler,but how to work in graphics in 32bit TCWIN4.5 compiler/MS VC+
+.
|
by: JonLT |
last post by:
Hi!
My program (a raytracer) needs a lot of calculations so i thought it would be a good idear to use threads. I'm allready using the SDL lib in the program so the SDL threads seemed a good choice.
The program runs fine and a faster with treads, but it's still to slow. I tried speeding it up with the gcc optimization flags, but that just makes the program lock up. The optimization falgs works fine if i don't use threads.
I thought this...
|
by: L. Lindstrom |
last post by:
I build the Pygame releases for Windows. Pygame wraps the Simple
Directmedia Layer (SDL) C library. I am doing preliminary research into
porting Pygame to Python 2.6. For Pythons 2.4 and 2.5 the Pygame
extension modules are built with MinGW. They link cleanly against
msvcr71.dll. A custom SDL, also linked to msvcr71.dll, is used. It is
built with Msys/MinGW using the configure/make tool chain.
For Python 2.6 I expect Visual Studio 2008...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
|