Posts
 
Reputation
Joined
Last Seen
Ranked #80
Strength to Increase Rep
+10
Strength to Decrease Rep
-2
99% Quality Score
Upvotes Received
195
Posts with Upvotes
167
Upvoting Members
99
Downvotes Received
2
Posts with Downvotes
2
Downvoting Members
2
62 Commented Posts
15 Endorsements
Ranked #115
Ranked #141
~293.22K People Reached
About Me

Geeky programmer looking for the meaning of life, which so far seems to have very little to do with software

Interests
I have a daughter and therefore I have no time for interests...Oh ok RPG (the proper table top variety)
PC Specs
Home: Core 2 Duo Desktop Triple Booting Ubuntu/Vista/XP Work: Core 2 Duo Laptop WinXP and Core 2 Workstation…
Favorite Tags
Member Avatar for Reverend Jim

Cop shows that include a 5 minute foot chase. This is usually the result of the cops shouting out a suspect's name from half a block away instead of waiting until they are within arm's reach. Inevitably the suspect runs into the path of a car or truck and the …

Member Avatar for Reverend Jim
9
3K
Member Avatar for vegaseat
Member Avatar for Reverend Jim
15
13K
Member Avatar for rajii93
Member Avatar for Dorian_3
1
371
Member Avatar for yhh

Hi, I'm still a beginner for C programming. In my assignment I've encountered this problem and I know is a linker problem but I'm not sure how to solve it. I'm trying to link 3 files which 2 .c files and 1 .h file. Below are the codes for my …

Member Avatar for Sean1234$
0
14K
Member Avatar for chumli

> 1) I need to make the game ask the player if they would like to play again and repeat if they choose yes. I have tried to add a loop in a few different ways but have not made any progress so far. > 2) When a letter is …

Member Avatar for chumli
0
295
Member Avatar for alon4963

Hello I write down a bank program and I have a problem. I would be happy if you can help me. So I have two types of accounts each account in a different class. first one is limited account and yhe secound is over draft account also I have class …

Member Avatar for rubberman
0
148
Member Avatar for aluhnev

//Hi i do the delivery company project,this are my members of the base class //how do i create 2 constructors in base,one for sender and one for recipient? //I did one for sender ,but visual studio does not allow me to create identical for recipient //Can some one help to …

Member Avatar for rubberman
0
251
Member Avatar for muhd.hadziq

#include <stdio.h> #include <stdlib.h> void main() { int salaryIn = 0.0; int years = 3; float salaryOut = 0.0; printf ("\nWhat is your salary (0 to stop)? RM" ,salaryIn) ; scanf ( "salaryIn" , salaryIn) ; do { do { printf ("\nYear " , years); for (double rate = .03; …

Member Avatar for aradicev
0
144
Member Avatar for Jophis

I'm working on a simple Ceasar Cipher encryption program in C. I am trying to make it simpler for my son and I to decipher so I put these rules: characters other than letters are unchanged while lowercase and uppercase will remain in their current case (so a Y incremented …

Member Avatar for loserspearl
0
168
Member Avatar for muhd.hadziq

#include <stdio.h> int main() { char membershiptype; int purchase; //float monthly_reward; // enter membership type; printf("membership type: "); scanf("%c", &membershiptype); printf("Standard = S , Plus = P , Premium = A"); switch(membershiptype) { case 'S': printf("\n\nEnter the total monthly purchase :RM"); scanf("%d", &purchase); if (purchase < 75) printf("\nMonthly Reward :RM%.0f …

Member Avatar for Banfa
0
174
Member Avatar for Pyler

So I'm trying to remove 2 brackets from lines I'm reading from a file. For some reason when I run my program the characters in between the delimeters is removed. for example `greetings pe()ple` would end up as `greetings pe` I'm using a char array of delimiters. `char delimiters[] = …

Member Avatar for Banfa
0
1K
Member Avatar for Jackson Festo

I GET ILLEGAL CHARACTER ''(0*1) WHEN COMPLING MY PROGRAM IN BORLAND C++ 5.02

Member Avatar for Banfa
0
214
Member Avatar for bernardo.mclobo

Hi. I'm learning C++ by myself, so I'm a noob, also i'm a mad scientist :P I'm trying to use a doubly linked list with polymorphism, and got a problem. Here is my code: #include <iostream> #include<string> #include<cstdlib> #include<cstring> #include<sstream> using namespace std; // node class template<typename T> class nodeType …

Member Avatar for bernardo.mclobo
0
405
Member Avatar for nitin1

void func(void * ptr) { bytearray temp(10); *((bytearray*) ptr ) = temp; } This code is not going ahead if the third line while executing while this coding is working fine. void func(void * ptr) { const char * temp = "decept"; *((char*)ptr) = temp[0]; } Why is it happening? …

Member Avatar for Banfa
0
136
Member Avatar for andreas.petrou.967

I have write this program,how to sort the numbers? // ddd.cpp : Defines the entry point for the console application. // #include "stdafx.h" #include<iostream> using namespace std; struct nodeType { int data; nodeType *link; }; nodeType *head; int main() { // // Init the list // nodeType *first; nodeType *last; …

Member Avatar for andreas.petrou.967
0
199
Member Avatar for COKEDUDE

I started off reading a file with fscanf. I figured I could use fscanf since the file was consistent with just two columns. I got very strange output when using fscanf. Can someone please explain why? When I switched over to fgets with sscanf it worked perfectly. I am curious …

Member Avatar for Banfa
0
1K
Member Avatar for Simon180

Am trying to compile the following code in solaris 7 using sun workshop 5 below but I keep getting the following errors and have no idea how to fix it. ./timer.h, line 67: identifier redeclared: timer_create current : function() retruning pointer to void previous: function(int, pointer to struct sigevent {int …

Member Avatar for Banfa
0
199
Member Avatar for pooja.singh.3950

You have a block of platinum that can be exchanged in your bank either for cash or for smaller blocks of platinum. If you exchange a block of m grams, you get three blocks of weight m/2, m/3 and m/4 grams each. You don't get any fractional part, as the …

Member Avatar for pooja.singh.3950
-2
383
Member Avatar for Simon180

Am trying to build xinetd on my solaris system am using sun workshop c++/c to compile the code but I keep getting the following errors error: `sys_nerr` underclared (first use in this function) error: (each undeclared identifier is reported only once error: for each function is appears in.) error: `sys_errlist …

Member Avatar for NathanOliver
0
1K
Member Avatar for gadgets1010

Hi. I'm trying to implement uniform interfaces for two breakout boards (adafruit's fona and sparkfun's Si4703 breakout) and I'm not sure how to go about writing wrapper classes. Can someone guide me through the basics of accomplishing this task?

Member Avatar for Banfa
0
161
Member Avatar for Sean_8

Problem1: Write the definition for a class named Vector2D that stores information about a two-dimensional vector. The class should have methods to get and set the x component and the y component, where x and y are integers. Next, overload the * operator so that it returns the dot product …

Member Avatar for Banfa
0
2K
Member Avatar for andruluchko

this is my program for list implementation in C++. And I want to print the first element in it. I write element until I reach 0 Can You show me the way to do it. Thanks #include "stdafx.h" #include "iostream" using namespace std; struct Node { int data; Node *next; …

Member Avatar for Banfa
0
2K
Member Avatar for aluhnev

//Hi,i need to create programm,which takes the user input,determins how many digits in integer // and than raise this digit to power,what was entered by user too. //first function noraml,second one to rais to power recursive. So if user enter number //234,this is 3 digits,so now need recurcively 3 raise …

Member Avatar for Banfa
0
270
Member Avatar for myk45

I have a horizontal layout inside which i have added a group box. The group box is split using a QSplitter and contain a QListWidget and a QTextBrowser. I want to add two push buttons at the bottom right corner of the window to navigate inside the QTextBrowser. I'm adding …

Member Avatar for Banfa
0
445
Member Avatar for Rashmi_1

prog6.h #include "340.h" #include "binTree.h" #ifndef H_PROG6 #define H_PROG6 const vector < int > A{ 1, -2, 3, -4, 5, -6, 7, -8, 9, -10, 11, -12, 13, -14, 15 }; const vector < float > B{ 0.5, 1.75, -3, 4.25, 5.50, -6.75, 8, 9.25, -10.5 }; const vector < …

Member Avatar for Banfa
0
335
Member Avatar for Web Spider

Hi there, I am working on signature based IDS, for this I have captured the TCP/IP traffic through Wireshark and got a pcap file, I want to extract some fields from the packet itself. How do I do this? I have been searching through the Internet and got the idea …

Member Avatar for L7Sqr
0
133
Member Avatar for tgreiner

I have written some code that contains a system to report error messages to error log file. I use a class structure to do this. However, some parts of the code contain functions that I think might be useful in a more generic context. So, I am trying to use …

Member Avatar for tgreiner
0
166
Member Avatar for aluhnev

//Hi Lads.This is my first attempt to create template functions. //Here is the main ,which needed to create Locate.h file/header and //in that Locate.h create templates to support the main. //If the value does not exist in the array, -1 is returned. // Templates.cpp : Defines the entry point for …

Member Avatar for aluhnev
0
189
Member Avatar for HuePig

Hi, I have a Blackboard object which is a singleton, what it does is store the message and the reciever. The challenge is that the blackboard will send an alert to the reciever and the reciever have to check the blackboard for the message. class Subscriber{ public: virtual ~Subscriber() {} …

Member Avatar for Banfa
0
341
Member Avatar for JayGarxP

I keep getting access violations even though I made sure to make all my methods and functions const! Driving me insane. When I add a player then try to display all players the program tries to read my privates then gets violated. (Still lots of bugs in it elsewhere, but …

Member Avatar for Banfa
0
282