Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
100% Quality Score
Upvotes Received
2
Posts with Upvotes
2
Upvoting Members
2
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
0 Endorsements
Ranked #3K
~2K People Reached
Favorite Tags
c++ x 7
c x 2
Member Avatar for ching
Member Avatar for theoddmonkey

I have two snippets of code that I am having a lot of trouble with finding the closed form Summations and time complexities for: x=0; for(i=1;i< pow(2,N); i = 2*i + 2){ for(j=1;j<N ; j++){ x=x+j; } } and: x=0; for(i=1;i <= (2*n); i++){ for(j=1; j <= n; j++){ if(j<i) …

Member Avatar for swati poddar
0
77
Member Avatar for MaxC

Hello guys, This code returns 2 errors and I dont understand why. [CODE] #include <iostream> #include <string> using namespace std; char choice; void M(); void C(); void Process(); void M(){ cout <<"Multiplication\n"; } void C(){ cout << "Calculation\n"; } void Process(){ cout << "Make a choice\n" << "C or M …

Member Avatar for kc0arf
1
211
Member Avatar for onickel

Hi! Pls, somebody help me!! I'm stuck here since days. I don't know, what i'm doing wrong.

Member Avatar for onickel
1
110
Member Avatar for ineedhelp2004

I am needing help on a problem I began a few days ago. It regards a temperature prblem and I am required to write a program to display and print the degrees in farenheit and centigrade. I performed the program numerous times and got these results: conversion.cpp:11: parse error before …

Member Avatar for FireNet
0
315
Member Avatar for MaxC

Hello guys, is there a way to declare global variables as [B]float[/B] and then convert them to [B]int[/B] to be used in a function? i.e. [CODE] float num1, num2, result; float Mod(){ num1%num2=result; //Wrong, (%) requires [B]int[/B] type) } [/CODE]

Member Avatar for ivosetyadi
0
210
Member Avatar for hkpkguy

[img]http://img19.imageshack.us/img19/9384/f5.JPG[/img] #include <stdio.h> #include <math.h> void main() { double a,b,c,disc,x1,x2; printf("To find the roots of a quadriatic equation with real roots\n") disc=b*b-4*a*c if(disc<0) printf("The roots are complex",disc); if(disc>=0) printf("-b+sqrt(disc)/2a",x1); printf("-b-sqrt(disc)/2a",x2); This is what i wrote, i know it is missing alot but I really dunno how to do it, so …

Member Avatar for Killer_Typo
1
215
Member Avatar for eager04

ok im trying to change this from link list to a queue.bt whenever i run it it sill shows from last to first which is the opposite from what i want.here it is, i hope somebody can try to see whats wrong with it. #include<iostream.h> #include<conio.h> struct queue { int …

Member Avatar for gusano79
1
161
Member Avatar for abu_sager

Hello ; i'm a c++ intermedite programmers from KSU CCIS colleage and i discoverded that i can't write a high quality application without GUI and i want to move to .NET framwork but when i buy a book a say that there is a big difference between them ? is …

0
95