Search
 
SCRIPT & CODE EXAMPLE
 

CPP

C compile SDL program using mingw

@echo off 

SET filename=teste

SET PathInclude=C:MinGWinclude
SET PathLib=C:MinGWlib64

gcc %filename%.c -I%PathInclude% -L%PathLib% -w -Wl,-subsystem,windows -lmingw32 -lSDL2main -lSDL2 -o main
pause
Comment

PREVIOUS NEXT
Code Example
Cpp :: c++ read file to char buffer 
Cpp :: print queue c++ 
Cpp :: qstring get if empty 
Cpp :: c++ remove whitespace from string 
Cpp :: c++ Modulo 10^9+7 (1000000007) 
Cpp :: Array implementation of Queue using class in c++ 
Cpp :: note++ 
Cpp :: prime number program in c 
Cpp :: cout char32_t c++ 
Cpp :: winmain example 
Cpp :: is C++ useful in 2021 
Cpp :: math in section title latex 
Cpp :: format c++ discord 
Cpp :: sfml mouse button pressed 
Cpp :: findung the mode in c++ 
Cpp :: how to make a c++ program which takes two integers and calculate average 
Cpp :: convert int to string c++ 
Cpp :: sum of vector elements c++ 
Cpp :: c++ infinite for loop 
Cpp :: c++ program to take input from user 
Cpp :: delete map elements while iterating cpp 
Cpp :: time function c++ 
Cpp :: c++ vector average 
Cpp :: rand c++ 
Cpp :: if vector is empty c++ 
Cpp :: c++ multidimensional vector 
Cpp :: prime factorisation of a number in c++ 
Cpp :: matrix transpose in c++ 
Cpp :: check if character in string c++ 
Cpp :: hello world program in c++ 
ADD CONTENT
Topic
Content
Source link
Name
6+9 =