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

Software Engineer

Interests
Coffee roasting
Member Avatar for moderate_rock48
Member Avatar for Dani

Hey there forum lurkers - all you people who are browsing the site but still haven't taken a minute to sign up. I just thought it would be a nice idea to welcome you all to the forums. Why not drop us a line and say howdy here? Heck, you …

Member Avatar for jamesjoseph1
0
9K
Member Avatar for samaru

Just curious. Hehe, I was thinking about this the other day and now I'm wondering what all you fellow coders out there have done. So what's the HARDEST most complicated program you've written? It doesn't have to be efficient, heck, it can all be spaghetti code. The hardest thing I've …

Member Avatar for Fest3er
0
3K
Member Avatar for liliafan

Hi I am attempting to pass a reference to an object from one function to another, is this even possible, if so what is the syntax this is an example of what I want: [code] class SomeClass { public: int a = 100; }; void second_function(SomeClass & ref_to_classobj) { std::cout …

Member Avatar for Lucaci Andrew
0
204
Member Avatar for chound

How do we create datatypes in C++. Eg. creating datatype called "myowndatatype" with sizeof(myowndatatype) = 3

Member Avatar for ravenous
1
269
Member Avatar for Asif_NSU

I wrote this code that checks whether a number is prime or not. It returns 1 if the number is prime or 0 otherwise. U just look at the bottom of the code... [CODE]#include<stdio.h> #include<conio.h> #include<assert.h> int is_prime(int n); void main(void) { int n=0; clrscr(); printf("An integer "); scanf("%d",&n); assert(n …

Member Avatar for Djoooleee
1
4K
Member Avatar for eoin

hello, could anyone help me by suggesting a good approximation algorithm for minimum weight perfect matching on graphs? I can't seem to find anything that makes any sense! i'm trying to implement Christofides algorithm for the travelling salesman problem in java but i'm stuck at the perfect matching bit. any …

Member Avatar for kpm3uw
0
732
Member Avatar for Ghost

When using C++, how do you find the REMAINDER of two numbers and store it in an integer. I think the answer is: [B]X % Y = Int Z;[/B] :idea: Please help. Thanks :lol: , C++

Member Avatar for wangchung
0
929
Member Avatar for kalinga

I am having a difficulty when understanding and writing c++ programs .can anyone give me a solution, thanks :cry:

Member Avatar for firdousahmad
0
235
Member Avatar for Sushi

I'm trying to write a function that gets an array, it's size and the number I'm looking for. The function should be recursive. That's what I've written, it doesn't work. I don' understand why. Suggestions are welcome. [code=c] #include <stdio.h> int binary (int *a, int n, int num) { int …

Member Avatar for WaltP
0
276
Member Avatar for hexstar

the following is a true yet somewhat funny (IMO) scientists explanation of why santa can't possibly exist: [quote=http://www.brillianet.com/entertainment/santaclaus/][b]Scientists have tried to answer the question, "Does Santa come with flying reindeer to deliver presents at Christmas?" This is what they have found:[/b] 1. No known species of reindeer can fly, but …

Member Avatar for vegaseat
1
831
Member Avatar for camelNotation

Somebody told me that he could access c++ private data members without using the " Friend" type or public functions.He gave a source code and that was compiled in Turbo c++3.0 :-( May I post that here?

Member Avatar for tekbhatta
1
2K
Member Avatar for reuben12

I have a bcp output file from sybase that i need to parse using 'c' and write to a new file. A sample line from bcp o/p file is below 9890000501:74667:0:6::2:0000:0:6:0:5:0:0:0:0:0:0:0:::9890000501:1:1:0::::::::0:0:3::::::::::\202^B:\202^B^D:0:0 :1:0:0:0:0:0:0:0:0:0::::0:0:0:::::::::0::0:0:0:0: The file has ":" has the delimitor. I need to create a new file with a single line …

Member Avatar for maaroufi
1
2K
Member Avatar for Phaelax

Can't seem to figure this out. [CODE] string *array; void addNodes(string names[]) { array = names; //how many elements in the array??? } [/CODE]

Member Avatar for Diego.Corso
0
27K
Member Avatar for Dani

Can someone please explain to me the difference between ++i and i++ when written as part of an expression (i.e. within loops and if statements) ? Thanks :)

Member Avatar for WaltP
0
644
Member Avatar for egyptianeyes

Dont know HOW TO DO A PSEUDOCODE REALLY REALLY NEED HELP ON THS QUESTION! Imagine a computer randomly selects a card from a pack of cards. You have to guess what card it is. You have to guess the suit first then its value. After each guess for the suit …

Member Avatar for Enceladus
0
185
Member Avatar for Asif_NSU

Hi there C /C++ experts... I have a confusion regarding the function free(void *) in C and [I]delete[/I] in C++. Suppose there is a pointer named p. In C++, we dynamically allocate memory for p to point at like this [CODE] p = new int [10]. [/CODE],then when we use …

Member Avatar for ahtaniv
0
751
Member Avatar for lara_

i dunno whether this question has been ask before but i've try to search but didn't found. so i ask it here... very simple... if i declare [B]int Z; cin >> Z;[/b] if I enter integer, it works fine but i enter character it's looping. :sad: how to prevent it …

Member Avatar for Hymppis
0
324
Member Avatar for mus_203

I have just satarted a degree in Computer science, and i was wondering if you can explain set theory to me. I will really appreciate it.

Member Avatar for scrappedcola
0
223
Member Avatar for mellinda

:rolleyes: hey, hope everyone is orite.its me first time on this site, its marvellous, everyone is so nice. well i wanted to do my bsc computer science dissertation on the security aspect or networking/security etc.. i have been through most of the threads before but still am i havent grasp …

Member Avatar for richardmawuli
0
326
Member Avatar for smithag261

I want to know how to write a program to obtain sum of the first and last digit of a number?

Member Avatar for arkoenig
0
227
Member Avatar for onauc
Member Avatar for PHANEENDAR06
0
146
Member Avatar for KSGuan

Hello, I'm just a beginner (student). Now still undergo C programming class to upgrade my knowledge in C. I was asked to complete a simple program to get the output of C program in the text file as shown below. This program is to help user to consider a range …

Member Avatar for codewriter_IND
0
123
Member Avatar for Tejas

Can smeone help me to write a prog. to find the sum of the following series: 1+(1+2)+(1+2+3)+....... n terms Regds. TEJAS

Member Avatar for angelrapunzel
0
163
Member Avatar for Squires

I am pretty proficient in C++ and Java. I know that most progrmas could be written in either language. My question for those of you who have been out there for a while, do companies tend to use one programming language for certain types of programs? For example, is C++ …

Member Avatar for surojit das
1
274
Member Avatar for pmishra
Member Avatar for thehelios
0
142
Member Avatar for Veer

This code assignment is due by class #14, Wednesday 10/20/2004. Write a program that reads in any 25 decimal numbers from standart input source (terminal), determins the actual and absolute lowest & largest values, and computes average of all the given numbers. You may use any/all programming techniques we have …

Member Avatar for camie_yeye
0
141
Member Avatar for Sukhbir

void main() { int i=1; printf("%d,%d,%d",i++,i++,i++); } output 3,2,1 CAN SOMEONRE EXPLAIN ME WHY?

Member Avatar for sanagopi
-1
231
Member Avatar for chound
Member Avatar for dalaharp

Hi, i am trying to implement gabor filter for image enhancement. if someone has any code snippet or pseudocode or any idea of implementing it in C, please help me out with it. thanks.

Member Avatar for hayat alazzeh
0
1K