Posts
 
Reputation
Joined
Last Seen
Strength to Increase Rep
+2
Strength to Decrease Rep
-0
0% Quality Score
Upvotes Received
0
Posts with Upvotes
0
Upvoting Members
0
Downvotes Received
6
Posts with Downvotes
4
Downvoting Members
5
3 Commented Posts
~6K People Reached
Favorite Tags
Member Avatar for titan5

I need to create a large integer array but I am not able to increase its size beyond max int value. How do I create larger arrays?

Member Avatar for afas87
0
3K
Member Avatar for coil

Hi, I'm trying to install GCC 4.5.1 on Ubuntu for C++ programming. So far, I've tried a myriad of different commands in Terminal to try to update GCC (the preinstalled version is 4.3.2), but none of them seem to work. When I go to update my packages with Synaptic Package …

Member Avatar for IsharaComix
0
149
Member Avatar for csmgsarma

Hi all, Here is a code snippet that is bugging me off for a while: [CODE] #define size (20 * 1024) unsigned char data_base[size]; /*my application here*/ ......... ......... ......... ......... [/CODE] The global variable "data_base" as you can see is uninitialized. The executable size was 434KB. when this variable …

Member Avatar for gerard4143
0
1K
Member Avatar for csmgsarma

Hi all, I want to add a route on Solaris machine for each IP I am pinging. I am added static route for each IP as here: [B]route add -net 10.116.80.21 -netmask 255.255.255.255 10.116.80.18[/B][interface id 10.116.80.21, gateway = 10.116.80.18] [B]route add -net 10.116.80.23 -netmask 255.255.255.255 10.116.80.18[/B] [B]route add -net 10.116.80.25 …

0
50
Member Avatar for Ferny84

Hi everyone, I am having some trouble here... I am asking the user to enter a file, and that file will read the contents and determine if the student will pass or fail the class. That part I am having trouble with is when I have to decide if the …

Member Avatar for csmgsarma
0
118
Member Avatar for csmgsarma

Hi all, My directory setup is follows. * My project folder is dev/. * All source files are in src/ with respective names, i.e. buzzer.c in buzzer/, led.c in led/ , lcd.c in lcd/ ... * All headers are in inc/. * All compiled objects are in obj/. * The …

0
110
Member Avatar for pearle

Another recursive problem. I'm trying to write a function that reverses an int value recursively. I think I've got the algorithm right, but I can't get the base case right. So my program ends up printing 5 infinitely... Here's the code: [CODE]#include <iostream> #include <cmath> using namespace std; void reverseDisplay(int …

Member Avatar for WaltP
0
154
Member Avatar for latszer

I am almost completely brand new to programming (been in my first programming class for about a month), and I am trying to learn stuff that my professor isn't teaching yet so that I don't get behind later, and I am doing this by writing simply programs and learning all …

Member Avatar for Narue
1
216
Member Avatar for Argo54325

Hello, I've been looking for information on creating a chat server and client application, just the basics that would include: 1. Connecting to the server. 2. Displaying a "friends list" (like windows live). 3. Open a private conversation with a friend on the list. 4. Send messages from users to …

Member Avatar for csmgsarma
0
157
Member Avatar for ElegantElephant

I have a date in the format of YYYY-MM-DD as a string (including the hyphens) How do I split this string just to obtain YYYY, MM and DD separately? Possible use of an array or something? Would really appreciate some help :) Edit: Nevermind, just discovered the explode() function :P

Member Avatar for csmgsarma
0
98
Member Avatar for tennis

Struct Day { explicit Day(int d) : val(d) {} int val; }; what does the colon in the 3rd line means? Thanks

Member Avatar for jonsca
0
102
Member Avatar for suzi_ausi

Please explain me in detail : [CODE]const char *str1 = "pointer to constant"; char *const str2 = "constant pointer"; const char *const str3 = "constant pointer to constant"; str1[0] = 'P'; // illegal! str1 = "ptr to const"; // ok str2 = "const ptr"; // illegal! str2[0] = 'P'; // …

Member Avatar for Dave Sinkula
0
178