181 Posted Topics

Member Avatar for BobFX

Static libraries are not DLL's. DLL's are Dynamic Libraries, which is more the opposite of static libraries. So if you're linking a static library, and then thinking "woot now it's collecting data from my DLL", then you're wrong. Try deleting the DLL, your program won't complain that it is missing …

Member Avatar for Excizted
0
185
Member Avatar for Excizted

Hi all :) Currently I have a console for my program, which in short words, executes the function named what you write. The thing is, the functions needs, for several reasons, to be members of a class. Currently I have the code below. Manager is a class that needs to …

Member Avatar for Agni
0
146
Member Avatar for rahul8590

Well of course you can, you just have to link a C/C++ library for the codec you want to use :)

Member Avatar for rahul8590
0
757
Member Avatar for dchunt

Ofcourse you know how much it can compute in a second.. Just find the amound of hertz.

Member Avatar for jonsca
0
834
Member Avatar for yanseung

I can't believe you're asking here, I googled "resize image c++" and had atleast two good results. [url]http://tinyurl.com/yckgwaf[/url] Have fun.

Member Avatar for Excizted
0
455
Member Avatar for sara_sara

I tried compiling and debugging your code. On line 115 you return the variable parent which is not initialised, meaning you haven't set a value for it. When declaring it on line 99, you might wan't to NULL initialise it, saying treeq *parent = NULL; I did that and next …

Member Avatar for Excizted
-1
95
Member Avatar for pac-man

[QUOTE=pac-man;1090803]Hi guys, I understand the difference is that the params of ctor 2 are declared const with n being passed by reference. However, I don't seem to understand what difference having these params (n and a) declared constant with n being passed by reference makes? I mean, I'd understand the …

Member Avatar for Excizted
0
132
Member Avatar for Excizted

Heyloo ^_^ I've stumbled upon this code :D [CODE]#define VERSION_MAJOR 1 #define VERSION_MINOR 1 #define VERSION_PATCH 2 #define VERSION ((VERSION_MAJOR << 16) | (VERSION_MINOR << 8) | VERSION_PATCH)[/CODE] I've been searching for some time now, unable to understand what << 16 and << 8 does, and why. I converted VERSION …

Member Avatar for Excizted
0
149
Member Avatar for Excizted

Hello. I'm wondering if I'm duplicating this class by doing the following. [CODE]SimpleClass *point; SimpleClass sc; sc.somevalue = something; point = new SimpleClass(sc);[/CODE] This post is quite tiny, I'm not being lazy, but I couldn't think of anything else needed for this question. Thanks :)

Member Avatar for mrnutty
0
96
Member Avatar for ShadowScripter

Well I've had this kind of behavior with #include. If I in file 1 include file 2, and in file 2 include file 1, the both files would simply seem not to be there at compile time. I guess it's the same for you. You told it to use a …

Member Avatar for Excizted
0
934
Member Avatar for eduard77

[QUOTE=eduard77;1089340]Hello I am rather new in visual c++ and I learned to code but I didn't find in any book how to ad an interface to my program. So please tell give me some references where from I could learn how to add a proper interface in visual c++. Thanks[/QUOTE] …

Member Avatar for Excizted
0
163
Member Avatar for samsons17

[QUOTE=samsons17;1089567]but how does the below program works with the * and &??? [/QUOTE] In the code below, the first line, which is a function declaration, the parameters are pointers, which is indicated with the * symbol. By typing a * between the class and its instance-name, you create a pointer. …

Member Avatar for mrnutty
0
81
Member Avatar for Silvershaft

[QUOTE=Ancient Dragon;1089305][code] #include <windows.h> int main() { HWND hWnd = GetConsoleWindow(); ShowWindow(hWnd,SW_HIDE); } [/code][/QUOTE] Wow I had no idea that was so easy! I might actually have use of that too, thanks ;)

Member Avatar for Excizted
0
193
Member Avatar for ASHAR VIRK

Well, I never worked with C++ because I had to. I always had programming as an interest, and by keeping making small applications which interests you, you soon reach the stage where you make giantic projects. You could make [LIST] [*]Program to spy on your sis [*]A notepad app for …

Member Avatar for Excizted
0
78
Member Avatar for niyasc

[QUOTE=niyasc;1085783]Hai, This is a source code written in turbo c for car racing game as a part of my higher secondary project. May I get some advices to improve it? 1.Did I use the real method to constitute motion in c? 2.How can I include sound in c? { Function …

Member Avatar for Nick Evan
-2
155
Member Avatar for Ancient Dragon
Member Avatar for esmeco
Member Avatar for Excizted

Hi everyone... I have a silly problem.. Somehow I managed to faceroll or something, hitting a shortcut which shows all indents as arrows and all spaces as dots. Here is a picture of the problem: [url]http://img97.imageshack.us/img97/8789/problemyf.jpg[/url] I've looked the options through, but since I don't know what this thing I …

Member Avatar for Excizted
0
88
Member Avatar for Excizted

Hi. I have a little question, that which answer may mean death to my class plans. I have a superclass (or parent class if you will) that I have to delete when I'm done with it, but does that affect the subclass (or child class if you will)? Simple question, …

Member Avatar for Excizted
0
162
Member Avatar for bijayswain

[QUOTE=bijayswain;1081744]I want to put this code into separate window so that the results are displayed in a custom window not in a command prompt [CODE]#include <iostream> #include <string> using namespace std; void main() { system("title Find Mac From IP"); system("cls && Color DF"); cout<<"--------------------------------------------------------------------------------\n"; cout<<" This Utility is designed to …

Member Avatar for alvinwong
0
110
Member Avatar for new programer
Member Avatar for darkunknown

omg, use code tags. [-code][/-code] without the dashes, that'd make people like me want to help you ;D

Member Avatar for darkunknown
0
153
Member Avatar for rciprogrammer

[QUOTE=rciprogrammer;1057456] static __declspec(dllexport) int InsertMsg(String^ myTable); [/QUOTE] Why dont you add __declspec(dllexport) to the class instead? Why do you need ^ ? (String^ myTable) My Log class in Dll works fine using strings in functions :) And those two things i mentioned above, seems to be the onlything generally different.

Member Avatar for yavorski
0
269
Member Avatar for Darth Vader

[QUOTE=Darth Vader;1058335]I wonder if there is any function that returns the difference in minutes for examples like this: 1300-1515 (135 minutes) 2350-0100 (70 minutes) Is there any timefunction that can have the ability to return the minutedifference ?[/QUOTE] I don't think there is. It shouldn't be hard to make one …

Member Avatar for Excizted
0
85
Member Avatar for j_williams18
Member Avatar for iDevelop

[QUOTE=iDevelop;1058333]I'm new to using C++ but I thought I would give it a try. The goal is to delete all files and folders located in %userprofile%\Local Settings\Temp without deleting the folder called "Bluezone" located in the Temp folder. Any help would be appreciated.[/QUOTE] Theres several ways you could do this …

Member Avatar for Excizted
1
125
Member Avatar for Excizted

Hello all :) I'm working on a DLL with various of functions I later need in other applications. I have many classes, and most of them I need a global instance of. I've tried various things such as a singletonptr, singleton, global instantiation. What I need to achieve is the …

0
47
Member Avatar for xtian3

Whats your question, really? You want help to loop, and include a sample. Please tell us what you want to achieve :)

Member Avatar for donaldw
0
195
Member Avatar for Excizted

Hi. I have a problem I cant find a solution to, since I am unable to describe the problem in a searchable way. I make a hWnd for each contact the user has: [CODE=C++]contact[atoi(rowC[0])].hWnd = CreateDialog(GetModuleHandle(NULL), MAKEINTRESOURCE(IDD_DIALOG4), hWnd, messengerBox);[/CODE] messengerBox is defined like this. [CODE=C++]BOOL CALLBACK messengerBox(HWND hWnd, UINT message, …

Member Avatar for Excizted
0
432
Member Avatar for Excizted

Hello DaniWeb. ;) I have a problem with char->tchar conversion, that i cant seem to solve. I want to launch another program, anh the relative path to that program is fetched from MYSQL. [CODE] updateBox = CreateDialog(GetModuleHandle(NULL), MAKEINTRESOURCE(IDD_DIALOG2), hWnd, updateDiag); hThread = (HANDLE)_beginthreadex(NULL, 0, Blah::Start, NULL, NULL, NULL); [COLOR="red"]_stprintf(patcherLoc, _T("%s/Patcher …

Member Avatar for Excizted
0
239
Member Avatar for Excizted

Hello eveyone! :) I am making a rather huge application, and I'm starting to face a global problem. Whenever my application is doing sommething, i have a functional [B]progress bar setup to show the progress[/B].[B] My problem is now[/B], that, atleast on Windows Vista / Windows 7, my application whitens …

Member Avatar for Excizted
0
379

The End.