Posts
 
Reputation
Joined
Last Seen
Ranked #3K
Strength to Increase Rep
+0
Strength to Decrease Rep
-0
100% Quality Score
Upvotes Received
5
Posts with Upvotes
4
Upvoting Members
5
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
3 Commented Posts
0 Endorsements
Ranked #13.1K
Ranked #2K
~6K People Reached
About Me

Electrical/Software Engineer working primarily with real-time control systems and user interfaces for industrial equipment.

Interests
Widely varying
PC Specs
Whatever they need me to work on.
Favorite Forums
Favorite Tags
Member Avatar for SCass2010

Hi everyone, Again, I'm just trying stuff out to try and learn a bit more but here goes... I created a small Logger util - I included the pthread library and added a mutex lock in each of the "write*" functions, tested it by running a few instances of a …

Member Avatar for varungandhi
0
2K
Member Avatar for tiredoy

I just wrote a simple code.Since it have no warnings or error attentions from the VC compiler,it TOTALLY doesn't work! What I wonder is whether the problem is due to the sequence of complying as well as how to figure it out. ------------------ Here is the code [CODE]#include<iostream> using namespace …

Member Avatar for tiredoy
0
168
Member Avatar for DoubleZ

Hello, so my assignment was to take a text file that contains a properly written C++ program code and to go through that code character by character and output all the comments in that code to another text file. This is what I got so far, basically I`m wondering how …

Member Avatar for Panathinaikos22
0
214
Member Avatar for caltech

Here's my full assignment below, and then the code I have so far to follow. I'm up to Step 4 of the assignment... need some insight to kickstart my flow. Much appreciated. [QUOTE]The ABC Corporation wishes to review a group of its products based on their performance in the prior …

Member Avatar for caltech
0
136
Member Avatar for phorce

Hello, I'm just wondering really.. I have a 2D matrix but I've defined it as a 1D matrix. So for example: [code] double *matrix = new double[N*M]; [/code] My question is, I'm going to be manipulating data very shortly and want to read this data in from a text file.. …

Member Avatar for WaltP
0
232
Member Avatar for stevanity

Hello guyz! Im conducting a debugging contest... Im writing some questions... I wrote a code implementing virtual functions.. Im not sure where to include bugs here.. Can anyone help me add bugs to this code?? Please bugs must make people think.. THey must not just be syntactical errors.. Thank you.. …

Member Avatar for Zcool31
0
106
Member Avatar for CY0T3R

/*PROGRAM TO PRINT SUM OF THE FOLLOWING SERIES - X + X*X/2! + X*X*X/3! + X*X*X*X/4!....n terms. I'm not getting the correct output. eg-for n=3 and x=2; compiler's ans = 4.66 correct ans = 5.3. HELP ME OUT...*/ [CODE]#include<iostream.h> #include<math.h> #include<conio.h> void main () { clrscr(); float x,sum=0; int n,fact=1,j,k; …

Member Avatar for CY0T3R
0
216
Member Avatar for myk45

Hello, I'm trying to use the compiler optimizations for GCC 4.3.3. I used the following [URL="http://gcc.gnu.org/onlinedocs/gcc/Optimize-Options.html"]LINK[/URL]as a reference. I'm mainly using the O2 and Os levels of optimizations. Could anyone please let me know if the order in which the options matters? Thanks in advance!

Member Avatar for myk45
0
192
Member Avatar for ruval002

so i have the following code, it inserts a number to a list and then i call my sort function which is below this function, the problem is that my sort function takes forever, is there a way i can implement my insert function so that everytime it inserts a …

Member Avatar for Ancient Dragon
0
130
Member Avatar for The_Purple_Mask

I've tried for some time to make the following code run properly. The problem is in the comparison function of sort(comp). It compares 2 doubles but in some cases it causes the program to crash with the message "Debug Assertion failed! Program: retrace.exe File:c:program files (x86)\microsoft visual studio 10.0\vc\include\algorithm Expression:Invalid …

Member Avatar for Fortran IV
0
203
Member Avatar for loumbut

Hi, a friend recommended the following winsock code to me. [CODE] #include <stdio.h> #include <winsock2.h> void abc(char *p) { char *ptr; p[1000] = 0; ptr = strchr(p,(int) "\r\n\r\n"); if(ptr) ptr[4] =0; printf("%s", p); } int main(void) { WSADATA ws; int d; char aa[1001]; struct sockaddr_in a; SOCKET s; int ii; …

Member Avatar for Fortran IV
0
1K
Member Avatar for NickPatton

I'm working on an assignment where I have to write my own raisePower function to take a base and a power and compute the product. The assignment states that the function needs to return a long but all input/output values should be ints. The code compiles and runs but does …

Member Avatar for Caligulaminus
0
185
Member Avatar for chaoz014

So this is my second project in C++, but I'm having some trouble understanding Recursive functions. We are supposed to write a program that has a recursive function. And the program should ask the user for a number. And then display the number of even digits that the number had. …

Member Avatar for Fortran IV
0
437
Member Avatar for sha11e

Heard people say c# for big programs, c for fast programs and c++ is just something that failed at being object oreanting c is c++ useful?

Member Avatar for sergent
0
208
Member Avatar for liveurlifeteddy

Hello everyone, i got a question, but cant figure it out here's the question: Declare a structure to hold the time. It should have 2 members: one for hours and one for minutes (each as integers). Declare another structure for date. It should have 3 members: one for day, one …

Member Avatar for liveurlifeteddy
0
108