Posts
 
Reputation
Joined
Last Seen
Ranked #4K
Strength to Increase Rep
+0
Strength to Decrease Rep
-0
100% Quality Score
Upvotes Received
1
Posts with Upvotes
1
Upvoting Members
1
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
1 Commented Post
~7K People Reached
Favorite Tags
c++ x 40
java x 1
Member Avatar for matlark

Hello, I am writing the code for a cash register, and I have searched the site and nothing comes back that helps me, it basically has to take the change and break it up to the fewest 100's, 50's, 20's, 10's, 5's, and 1's. I have already written the cout …

Member Avatar for suiluj
0
731
Member Avatar for Jennifer84

I wonder something about finding a specific character in a string. What I am trying is to find "*" and if that character is found in the string, I will write "Found" to a file. When running the code below. All this is happening but the same thing is happening …

Member Avatar for dpreznik
0
144
Member Avatar for ninjaneer

background: I am currently working on a project that will require me to grab some audio from an electronic stethoscope and process it for use within a larger program -- I've been looking into ways to do this and ran into a post on MSDN that was talking about [QUOTE]"taking …

0
98
Member Avatar for ninjaneer

hi! I'm trying to get the following C++ class (contained in a DLL): [code] __declspec(dllexport) class ThreadManager { public: __declspec(dllexport) static UINT32 setThreadPriority(UINT32 tPriority); __declspec(dllexport) static UINT32 setPriorityClass(UINT32 pClass); __declspec(dllexport) static UINT32 setProcessorMask(UINT32 pAffinity); __declspec(dllexport) static UINT32 changeMATLABSeed(UINT32 inputSeed); static BOOL setHandles(HANDLE* thread, HANDLE* process); __declspec(dllexport) static BOOL testFun(UINT32 testInt); …

Member Avatar for Ramy Mahrous
0
1K
Member Avatar for jonathanasdf

Yeah. This was what I was wondering. Because I am initializing arrays using the new function, I was wondering if there was any way that I could catch a force close (clicking the X or using end task) so I could delete [] the array. Or maybe the array is …

Member Avatar for fskreuz
0
130
Member Avatar for ninjaneer

Hello again, daniweb. I have created a managed C++ GUI using windows forms that needs to call some functions in an unmanaged C++ DLL that was created by the MATLAB compiler. The functions from the MATLAB compiler need to be run in their own thread in the background while input …

0
78
Member Avatar for ninjaneer

Hello, I have a C# GUI that is supposed to call a backend I have in a C++ CLI/CLR shared library. That library calls another DLL that was created by MATLAB, but I can't get the second DLL called... Is it a mistake to put the backend in a DLL? …

Member Avatar for ninjaneer
0
157
Member Avatar for bpacheco1227

I have time to complete this, I have to add 2 void functions, 2 value returning functions, 1 structure and on array. I just need some ideas on where to start, what should I convert to functions, how should I instill stuctures and arrays to this particular program. I'm going …

Member Avatar for mitrmkar
0
198
Member Avatar for pizzafiend

A post by tgreer gave me an idea. How about you post an original tech-related poem. Any type will do (limerick, haiku, sonnet..etc.) I'll start: Silence is broken A loud swear in frustration The blue screen of death

Member Avatar for maydhyam
1
291
Member Avatar for ninjaneer

I am getting the following unhanded exception: [COLOR="red"]An unhandled exception of type 'System.IO.FileNotFoundException' occurred in System.Windows.Forms.dll Additional information: The specified module could not be found. (Exception from HRESULT: 0x8007007E) [/COLOR] which crashes my code when I click a button on my C# GUI. The button calls a C++ Backend, and …

Member Avatar for ninjaneer
0
137
Member Avatar for ninjaneer

I have a C++ dll that I am trying to call in another section of code (happens to be C#) currently I am getting the following error: [COLOR="Red"]Additional information: Unable to load DLL 'MATLABThreadLibrary.dll': The specified module could not be found. [/COLOR] even though I believe I've got all the …

Member Avatar for ninjaneer
0
231
Member Avatar for ninjaneer

I've been googling this topic for a while, but I haven't found a very clear tutorial. I have created a GUI in C# (it's so easy!) and now I want to implement a C++ backend that I've got that is already created (also the C++ backend uses Microsoft Foundation Classes …

0
70
Member Avatar for ninjaneer

I'm writing a GUI for a C++ program I have already written. Currently I need to either port a section of C++ code using MFC to the C# program, or use a wrapper and call the functions from C#. I'd like to be able to create cWinThreads to do some …

Member Avatar for ninjaneer
0
197
Member Avatar for balla4eva33

Okay, I've got two files: a main and a header to go with it. I'm not too far into it yet, but for some reason I'm having problems with the string. Am I declaring my strings incorrectly? Am I missing a header file from installation of Visual Studio? Am I …

Member Avatar for CoolGamer48
0
150
Member Avatar for msupstream

Hi, I have done some reading and searching without finding how subclasses relate to friend classes. Here is a little scenario: [code] class Dog; class Cat{ public: int getAge(){return age}; protected: friend class Dog; int age; }; class Dog{ public: Boolean foo(){return True}; protected: friend class Cat; }; class Puppy …

Member Avatar for Narue
0
147
Member Avatar for gregorynoob

a mouse is trapped in a labyrinth.. and he has to find the cheese! the input is W and H (height and width), and a graph like this one: [CODE] ##...# C###.. ...... .####. .....M [/CODE] i'm supposed to calculate the shortest amount of steps he needs to make to …

Member Avatar for gregorynoob
0
174
Member Avatar for camthalion95

Menu.RC [CODE]POPUP "File" } MENUITEM "New", CM_NEW MENUITEM SEPERATOR MENUITEM "Save", CM_SAVE MENUITEM "Save As", CM_SAVEAS MENUITEM SEPERATOR MENUITEM "Exit", CM_EXIT { }[/CODE] I have another file with the definitions to CM_NEW, Etc.

Member Avatar for camthalion95
0
191
Member Avatar for integer*09

Hi all, Lets say Program A had opened a AAA.txt and had finished writing to it but didnt closed it as it is waiting for another patch of data to be written in around 1 mins or so. So in between the 1mins times can Program B copy its content …

Member Avatar for ninjaneer
0
143
Member Avatar for prab

Hi all, I am new to OOP. I am using classes to create a phone book in C++. I don't know how to program, when the user enters the information and click save to generate a file. Also, how do I make GUI using C++. Can any one help me …

Member Avatar for ninjaneer
0
595
Member Avatar for curiousa

Hi all, i am a new intern quant.. and i had almost never used C++!! i have to simulate the heston model [url]http://www.javaquant.net/papers/Heston-original.pdf[/url] the equations from the page 328 to 331.. so, i am using the Euler decompostion but i have some problems with using C++ if any one can …

Member Avatar for ninjaneer
0
155
Member Avatar for ninjaneer

Calling any multi-thread wizards. Here is a copy of the relevant parts of my main function... [code] CWinApp theApp; [COLOR="Red"]//the application's handle? not sure...[/COLOR] using namespace std; UINT callProcessThread(LPVOID minutesSpent); //worker thread function, process output UINT initializeProgram(LPVOID flag); //worker thread function, load MCR void inputCalculateOutput(void); // function that sorts data …

Member Avatar for ninjaneer
0
447
Member Avatar for cam875

My program is acting really weird, it will run fine sometimes and other times it will just go into a constant loop and screw up. Heres the code of the part thats screwing up. void AmasiVillage() { CharacterLocationID = 1; system("cls"); cout << "\n"; cout << "\n"; cout << "\n"; …

Member Avatar for ninjaneer
0
116
Member Avatar for iffEngineer

Hi All, I have noticed an interesting trend in the manufacturing sector of the United States the past few years. That trend has become more evident lately. Companies want processes to run with fewer people and at a faster pace thereby increasing thruput exponentially while maintaining the highest quality! Wow, …

Member Avatar for ninjaneer
0
143
Member Avatar for k.samdani
Member Avatar for Shaun32887

Just to introduce myself again, My name is Shaun and I'm a 21 year old engineering student with about... six weeks of c++ experience. I main concern isn't my ability to get the job done. I have enough Matlab experience and logical thinking to accomplish this task. My worry is …

Member Avatar for Shaun32887
0
210
Member Avatar for ninjaneer

I've been floating around the web looking for a way to add a cap to my Cpp program's processor use, and so far I've only come across a few painful looking Cpp-to-assembly tutorials and a bindprocessor function in an IBM API. I was wondering if any of you wizards knew …

Member Avatar for ninjaneer
0
109
Member Avatar for ninjaneer

I feel it's time to cast my line in here... I'm just about to embark on some GUIing myself and I have but one requirement thus far: I must be able to use cWinThreads or inherit from cWinThreads in order to control my processes. My program will be used to …

Member Avatar for Ancient Dragon
0
214
Member Avatar for ninjaneer

Hello community. I am writing a program that will use multiple threads to run MATLAB functions inside of Cpp by using the MATLAB compiler to create a DLL. I have already written the MATLAB DLL and I have everything linked up just fine, but now I need to split this …

Member Avatar for Ancient Dragon
0
134