Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
0% Quality Score
Upvotes Received
0
Posts with Upvotes
0
Upvoting Members
0
Downvotes Received
1
Posts with Downvotes
1
Downvoting Members
1
~3K People Reached
Favorite Tags
Member Avatar for Gait

Which is the best C++ IDE for windows that is free and where can i get it?I have tried downloading Code Blocks and Dev C++ but none of them works.

Member Avatar for hystaspes
0
143
Member Avatar for FREEZX

I have a problem with my layout. I'm designing a fixed-size layout and whenever i go to a longer page on which my browser has a scroll, it's shifting a bit on the left. i understand this would be because then my registered browser width is decreased for few pixels, …

Member Avatar for FREEZX
0
90
Member Avatar for manutd4life

here's my question: write a program that asks the user to type the value of N and writes this picture : N=1 * N=2 ** * N=3 *** ** * here's my work: [code=c]#include <stdio.h> #include <stdlib.h> int main(int argc, char *argv[]) { int numOfStars = 0; int count = …

Member Avatar for manutd4life
0
166
Member Avatar for bigdawgg

I am attempting to write some code that will open a sequintal file into arrays and will then can use the data to calculate monthly payment. the text file is as follows 1 5 10 20 50 2.5 4.1 5.3 7.1 8.3 With the top row being yrs and bottom …

Member Avatar for jwenting
0
168
Member Avatar for FREEZX

I need to "decode" a string into numbers. it should convert 1=ij 2=abc 3=def 4=gh 5=kl 6=mn 7=prs 8=tuv 9=wxy 0=oqz so i made a code where i use a dynamic string array which should get filled up according to the above table, but when i try to print the …

Member Avatar for FREEZX
0
103
Member Avatar for FREEZX

I need to write a program that will count how many numbers within an interval have an even sum of digits. you are given two numbers, a and b. i wrote a little program that is a little slow.. it checks for the sum of the digits for every number …

Member Avatar for mvmalderen
0
1K
Member Avatar for FREEZX

Why am i getting a segmentation fault when i try to compile this code? [CODE=c++]#include <iostream> using namespace std; int main() { bool x; string odgovori; cin>>odgovori; int xd[2], rez=0, vkupno=0, odlen=odgovori.length(); xd[1]=1; for(int i=0; i<odlen; i++) { if(odgovori[i]=='O') { if((xd[1]==1)&&(x==false)) { rez=rez+1; x=true; } else{ xd[2]=xd[1]*2; rez=rez+xd[2]; xd[1]=xd[2]; } …

Member Avatar for FREEZX
0
83
Member Avatar for FREEZX

Hello all! I have a task to code a program that would find the last non-zero digit of the factorial of a given number n where 1<n<10000 so far i got this: [CODE=c++]#include <iostream> #include <string> #include <sstream> using namespace std; int main() { int a, xxx; unsigned long long …

Member Avatar for FREEZX
0
259
Member Avatar for FREEZX

[CODE]#include <iostream> #include <fstream> #include <string> #include <sstream> #include <math.h> #include <windows.h> using namespace std; int main() { int l, pos, pos1; unsigned long int currnum; string str0, str1; stringstream out; string::iterator x1, x2; float koren; bool find = 0; ifstream fin("koren.in"); ofstream fout("koren.out"); if(fin.is_open()) { fin>>l; fin>>str0; fin.close(); currnum=159; …

Member Avatar for FREEZX
0
149
Member Avatar for FREEZX

I need to make a program that will extract numbers from a file sorted like bowling cones, like this: 1 2 5 2 2 7 1 6 4 8 2 9 4 7 3 and than calculate the maximum a bowler can score if the ball can go down on …

Member Avatar for FREEZX
0
107