No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
Hi, I am a programming newby and trying to write a Java code that does the following: - User inputs a string of choice (this part is ok) - Program reads every third character of the string and replaces with an X Any help would be appreciates. Thanks, oling |
|
So, I am learning C and have this newby problem. This is my snippet: [CODE] #include <stdio.h> main() { char x; unsigned y; x=0xFF; y=0xFFFF; printf("Size of char: %d-bits\n", sizeof(char)*4); printf("Size of int: %d-bits\n", sizeof(int)*4); printf("\n0x%X in decimal: %d\n", x, x); printf("\n0x%X in decimal: %d\n", y, y); return 0; } … |
|
Hi, I am mostly playing around with creating command line c++ applications, using the console for input and output display. I wonder if there is any "simple" way to create a web client interface on top of a simple c++ program, requesting data input and to display results on a … |
|
I have trouble with getting the correct number of characters displayed when returning this simple function. Does anyone see what I am doing wrong in the function (the cout function outputs -2 instead of 4 which is the lenght of "test")? Thanks: [code] #include <iostream> using namespace std; int mystrlen(char … |