Posts
 
Reputation
Joined
Last Seen
Strength to Increase Rep
+0
Strength to Decrease Rep
-0
0% Quality Score
Upvotes Received
0
Posts with Upvotes
0
Upvoting Members
0
Downvotes Received
3
Posts with Downvotes
3
Downvoting Members
3
1 Commented Post
0 Endorsements
~4K People Reached
Favorite Forums
Favorite Tags
c++ x 45
Member Avatar for iammfa

Hi, Here is an example made by 'C++' and 'SDL' library, this example load an image with format .PNG, because I'm beginner in c++, I'm asking some questions: [CODE]/*This source code copyrighted by Lazy Foo' Productions (2004-2009) and may not be redestributed without written permission.*/ //The headers #include "SDL.h" #include …

Member Avatar for Ketsuekiame
0
137
Member Avatar for iammfa

Hi, This is an exercise I solved it, I want to know, is my solve is the best solve or there is notes, if there is a notes, I'm glade to hear it: [B]The Exercise:[/B] [CODE]Make a program that calculates the sum, mean, minimum, and maximum of a series of …

Member Avatar for chiwawa10
0
162
Member Avatar for iammfa

Hi, The excercise I'm trying solving it today is printing the numbers from (32 to 256) and the ASCII values in table, I completed the code but the console appear one value only.. :( The excercise: [CODE]ASCII table Make a program that writes a table of all characters with values …

Member Avatar for jonsca
0
126
Member Avatar for iammfa

Hi, The following is an exercise in c++, I solved it but I doubt my solve is not right ..can someone tell me is my solve right or wrong especially the compiler didn't give me any errors [I][B]The exercise:[/B][/I] first look the attached image, The acceleration of a sleigh sliding …

Member Avatar for jonsca
0
1K
Member Avatar for iammfa

since few minutes I tried practice "using FOR loop with IF statement" to test user "Even Numbers"(divided / 2) in console screen, I wrote this trivial program to print the statement "IS even number" if the number divided by 2, and print "NOT even number" when not divided by 2, …

Member Avatar for WaltP
0
97
Member Avatar for iammfa

:-/ Now, I'm trying practice on c++ basics, since few minutes I tried practice "for loop" especially, in console screen, I wrote this trivial program to calculate sin angles between angle (0 to 90) with for loop, but when i build it, it gave me one result like my attach …

Member Avatar for jonsca
0
116
Member Avatar for iammfa

Hi all, Now, I'm trying practice on c++ basics, since few minutes I tried practice "library functions" especially "sin" function, I wrote this trivial program to calculate angle in console screen, but when I input 90 degree it gave me 0.8939, but with calculator it gave me 1, why console …

Member Avatar for Stefano Mtangoo
0
137
Member Avatar for iammfa

since few minutes I tried practice "static_cast" to convert from short variable to int variable, I wrote this trivial program to print the variables before using static_cast and after using static_cast in console screen, but the variable not converted..! [CODE] //EGYPT population | static cast #include <iostream> using namespace std; …

Member Avatar for mrnutty
0
87
Member Avatar for iammfa

Hi all, I'm beginner in c++, I'm trying practice on c++ basics, since few minutes I tried practice "setw" operator, I wrote this trivial program to print some data in console screen, but when I tried build it it gave me error..! [CODE]//print game names and my prefer rating in …

Member Avatar for WaltP
0
223
Member Avatar for iammfa

Hi, At the moment, I try to practicing c++ with directx, I found good tutorials for that, I started with "Tutorial 1: Create a Window" in this link: [URL="http://www.two-kings.de/tutorials/dxgraphics/dxgraphics01.html"]http://www.two-kings.de/tutorials/dxgraphics/dxgraphics01.html[/URL] I do all steps ok like the tutorial, but when i compile it gave me errors, I'm using VC++ 2008 express …

Member Avatar for iammfa
0
146
Member Avatar for iammfa

Hi, I read this line in creating window example with win32 API: [CODE]LRESULT CALLBACK WindowProcedure(HWND,UINT,WPARAM,LPARAM);[/CODE] please, can someone explain it to me..! i googled but i can't find enough explanation regards iammfa

Member Avatar for Clinton Portis
0
126
Member Avatar for iammfa

Hi all, A year ago, I began to study the basics of the C++ language and I was able to successfully passed this stage .. Thanks to everyone who helped me in this especially [B][I]DaniWeb[/I][/B] users ..:* But always hesitate in my mind a question: what should be done later …

Member Avatar for necrolin
-1
182
Member Avatar for iammfa

Hi, with c++, what is the steps to make centered 2d sprite rotate oriented toward mouse cursor, i heard that i should use trigonometry.. can someone tell me these steps without coding regards iammfa

Member Avatar for mrnutty
0
268
Member Avatar for iammfa

Hi, This is small c++ guess game, I almost finished it, but when i tried compile it gave me an error: "Cannot open include file: 'stdlib': No such file or directory" is this file part of c++ standard library..? why compiler can't find it? here is my .cpp source:

Member Avatar for RayvenHawk
0
187
Member Avatar for iammfa

hi, in this code: [CODE]#include "stdafx.h" #include <iostream> int main() { using namespace std; cout << "Enter a value: "; double dX; cin >> dX; cout << "Enter a second value: "; double dY; cin >> dY; cout << "Enter one of the following: +, -, *, or /"; char …

Member Avatar for iammfa
-1
130
Member Avatar for iammfa

Hi, i'm using c++ with SDL, SDL image libraries, i trying build a small example, i got this error in linking when i build every project: ------ Build started: Project: 00000, Configuration: Debug Win32 ------ Linking... MSVCRTD.lib(crtexew.obj) : error LNK2019: unresolved external symbol _WinMain@16 referenced in function ___tmainCRTStartup C:\Users\iammfa\Documents\Visual Studio …

Member Avatar for John A
0
159
Member Avatar for iammfa

hi, i'm beginner in c++ and i'm using SDL with it, i started with beginner SDL tutorial, the 1st lesson learning me how setup SDL, i don't understand some steps from step 11 to 13, i hope some guides this a link: [url]http://lazyfoo.net/SDL_tutorials/lesson01/windows/msvsnet0508e/index.php[/url] regards iammfa

Member Avatar for GDICommander
0
140
Member Avatar for iammfa

Hi, all I'm beginner in c++, and sure exercises important for any beginner, so i Google a lot about " c++ answered exercises ", and may be i can't search well, so if someone know any " c++ answered exercises " links, tell me please regards iammfa

Member Avatar for Salem
0
64
Member Avatar for iammfa

Hi, in the next example code: [code=cplusplus] #include <iostream>; using namespace std; #include <iomanip>; int main(int argc, char *argv[]) { for(int i = 1; i <= 28; i++) { cout << setw(3)<< i; if(i%7 == 0) { cout << endl; } } system("PAUSE"); return 0; }[/code] i compiled and i …

Member Avatar for JameB
0
94
Member Avatar for iammfa

hi, i'm using vc++ 2008 express edition to build my small exercises projects, building solution ok, no errors no warns, my problem started after i tried build my project, , the problem is the path of .exe project application, vc++ create it in path " D:\", although my folder "release" …

Member Avatar for iammfa
0
95
Member Avatar for iammfa

Hi all, i trying learn my self C# by web tutorials and trying coding some simple game codes as exercises, like this example i tried do it but i confused where i should start.. there are two sprites, square 32x32px named "square.png" and arrow 32x32px called "arrow.png", i trying do …

0
58
Member Avatar for iammfa

Hi everyone, :icon_cheesygrin: My name MFA, this is my short name, i'm beginner in programming, i love it so much, i hope will be professional programmer in the future, my only dream is " build game developer " greeting MFA

Member Avatar for ahihihi...
0
28
Member Avatar for iammfa

Hi all, what is the bug in the following code: [code=cplusplus] #include <iostream> #include <string> int main() { string str = "Hello World!" cout << str << endl; cout << float x = 5.0f * str << endl; int 65Num = 65; cout << "65Num = " << 65Num << …

Member Avatar for stephen.id
0
137