No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
I started with debuging so I now debug all programs I can to understand the full work off microprocessor. I know basic ASM level so no problem here. look what i wana ask [CODE] --- c:\users\zippo\documents\visual studio 2008\projects\debug\debug\main.cpp -- #include <iostream> using namespace std; int main() { 00031370 push ebp … |
|
I am very interested in ASM I wana learn write it and read it like a pro.. Now i'm in CLASS issue I want to know how c++ Class definition looks in ASM code.. for example this code [CODE] class MathFuncs { public: int a,b; private: void SetVars(int,int); }MathObject; void … |
|
Re:
Hey all, I am trying to check if a .exe file is open, if it is open bring it to foreground, if it is not open open .exe file and bring to foreground. The code I have written doesnt seem to recognise if the program is open or not as … |
|
I am playing with function hooking so I wrote simple program that calls DisplayMessage Function which prints out Hello.. [CODE] void DisplayMessage() { cout << "Hello"; } [/CODE] After this one i found the DisplayMessage offset its (0x00131000) now my target is write a dll to change DisplayMessage function to … |
|
My first school project after first year of c++ studying in 10 grade for summer to code virtual stack emulation in C++.. Well i've done it perfectly finished just today !! It supposed to be for all summer I finished in fast in 1 day lol not nerd :) Just … |
|
I started with masm32 and i have some questions I read this [QUOTE] Under Win16, there are two types of calling convention, C and PASCAL C calling convention passes parameters from right to left, that is , the rightmost parameter is pushed first. The caller is responsible for balancing the … |
|
Re:
i have created an exe which shows a message but the problem is i want to create another program from which a person can enter his name, choose destination and click create after clicking create a new exe if made in the location he chose which has the name he … |
|
O.k guys the reason for the new thread because no one understood the previous thread even I didn't understand what I wrote lol! Now listen to my problem. I wrote an exe file that loads a dll and than uses a function from inside of the dll! BUT!! my exe … |
|
OK so I got my executable file that should load all the functions from "message.dll" so I can use them. But every time I run my executable file I am getting an error that say my executable is encountered problems and its should be closed than its being closed. Here … |
|
listen i got to compile one file to a dll and one to an exe all in one project so i got 1 file called main.cs [CODE] // File: main.cs using UtilityMethods; class TestCode { static void Main(string[] args) { System.Console.WriteLine(add(2,3)); } } [/CODE] [CODE] // add.cs using System; namespace … |
|
ok so i got 2 files which i want compile to dll and 1 to exe i got this command: csc /out:MyClient.exe /reference:MyLibrary.DLL MyClient.cs i totaly have no clue where do i add this at visual c# 2008 express edition?? any help will be appreciated |
|
Re:
Hi anyone I am a new member, and want to learn the c + + from the outset Please, Where can I find free electronic books for the education of c + + |
|
Re:
I am a beginner that is learning C++. I would like to now how everyone else learnt C++. |
|
Re:
I am not a complete beginner to c++, I can make programs that only interact with the user via text, and would like to move on to some 2d games. How should I begin to do that? Does anyone know of any good tutorials to get started with this? |
|
Hi Everyone, I have the following function, char* sample1() { char *p = "Israel"; return(p); } //in this case the memory storing india is not destroyed at the end of the function, indicating that it wasn't stored in the stack meant for the function call. However, the following function causes … |
|
Why both of the next examples are the same? Ex1 : int*(*foo)() = Function; Ex2: int*(*foo)() = &Function; Notice: In the second example i'm using & operator. That means that c++ takes function name as an address of it and this () dereferencing it just like in arrays? |
|
Re:
how to make a program which the out put is: enter n=5 [code] 1 2 3 4 5 4 3 2 1 2 3 4 5 4 3 2 3 4 5 4 3 4 5 4 5 [/code] this is the code i use but an error occur [code=c] … |
|
Re:
Hi everyone, Sorry for the long title! What I want to know is whether it's possible to convert specified elements of array of char to int using some fuction ? let's say we have char x[10], x[0] = '9', x[1] = '2' so I want to have 92 in a … |
|
I just was wondering why the array its self are a pointer to the first element? and what is the difference between an array and a pointer? |
|
I just started mess with Memory at c++ so i am very confused now, and this is why i am asking 3 questions that made me confuse so much. 1. Look at this: char *str = "Literal String"; Here we are creating a char pointer called str then we are … |