- Strength to Increase Rep
- +0
- Strength to Decrease Rep
- -0
- Upvotes Received
- 25
- Posts with Upvotes
- 20
- Upvoting Members
- 15
- Downvotes Received
- 0
- Posts with Downvotes
- 0
- Downvoting Members
- 0
Software Engineer
- Interests
- Coffee roasting
Re:
lets waste some web space by counting i will start us off 1 |
|
Re:
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 … |
|
Re:
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 … |
|
Re:
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 … |
|
Re:
How do we create datatypes in C++. Eg. creating datatype called "myowndatatype" with sizeof(myowndatatype) = 3 |
|
Re:
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 … |
|
Re:
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 … |
|
Re:
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++ |
|
Re:
I am having a difficulty when understanding and writing c++ programs .can anyone give me a solution, thanks :cry: |
|
Re:
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 … |
|
Re:
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 … |
|
Re:
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? |
|
Re:
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 … |
|
Re:
Can't seem to figure this out. [CODE] string *array; void addNodes(string names[]) { array = names; //how many elements in the array??? } [/CODE] |
|
Re:
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 :) |
|
Re:
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 … |
|
Re:
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 … |
|
Re:
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 … |
|
Re:
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. |
|
Re:
: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 … |
|
Re:
I want to know how to write a program to obtain sum of the first and last digit of a number? |
|
Re:
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 … |
|
Re:
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 |
|
Re:
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++ … |
|
Re:
How to calculate space complexity of any algorithm or program .... |
|
Re:
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 … |
|
Re:
void main() { int i=1; printf("%d,%d,%d",i++,i++,i++); } output 3,2,1 CAN SOMEONRE EXPLAIN ME WHY? |
|
Re:
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. |