- Strength to Increase Rep
- +8
- Strength to Decrease Rep
- -2
- Upvotes Received
- 10
- Posts with Upvotes
- 8
- Upvoting Members
- 8
- Downvotes Received
- 0
- Posts with Downvotes
- 0
- Downvoting Members
- 0
Leader of the Volts. The Thunder Emporer.
- Interests
- Anime
Hi all, I am fairly new to C++, but i am having trouble declaring a 2D dynamic array. Any help will be appreciated. Thanks |
|
hi eveRyone, I just want to have your tips for my code.. [CODE] #include <stdio.h> main() { hexa = 16; printf("enter decimal number: "); scanf("%d",&deci); for (ctr = 1; ctr<=deci; ctr++) quotient = deci / hexa; printf("Equivalent in Hexadecimal is %d",quotient); getche(); }[/CODE] I want to print out the numbers … |
|
Hello! I want to make a trainer (just for that not because I need to cheat at a game). I have an application made by me (Untitled1.exe......ftw!) when I press any key it makes the number from x to x++... Another program I need is when I run it to … |
|
Hi, Below is my home n/w status. I have a modem which connects to a wifi router 1 laptop, 1 mac pro, 1 i-phone and a pc all which connects to this wifi router. I have 2 external hdd & a printer which I want to connect to the n/w. … |
|
I have been posting in dani web during my college times, after being employed, I stopped posting in dani, now I updated my email id few weeks before & I am a unverified user. How can I become a verified user? and how can I get e-mails from dani? Please … |
|
Hello I'm coding an algorithm based on genetic programming with tree structures in C. I implemented tree structure using recursive structure pointers **The traditional way** [CODE] struct tree { int val; tree *left; tree *right; }; tree a[10]; tree b[20]; void main() { generate (); // this generates me 10 … |
|
Hi, I have a piece of code, which gets a string of code from a webpage. It's the HTML source code, from which I want to make an array, in which I can find data the user will input. However, I need to extract all the useful information from the … |
|
hi all, hop all r fine. i want source code of "Apriori Algorithm for finding frequent itemsets" in c/c++ or any other language. can anyone plz send me that. i'll be realy v thankful. |
|
Hii friends, Is it possible to find the no. of elements in an array after inserting without counting while insertion |
|
My friend said to me that in 1935 The US police killed an innocent person & his friend suicide because of that, thus US government declared Friendship day. I searched the net but didn't see any such story. But I found it was somewhat right, that it was started in … |
|
Hello, I have made client server communication and I am sending and recieving Files. I am using file pointer and fread and fwrire commands to read and write file. I am able to read and write .txt,.GIF files.but I could not write .doc file. I am opening file in binary … |
|
Hello everyone, i have another assignments that i can't deal with my ability yet. This is the assignment : Make a pyramid from a character where you can define it's height ! Example : 4 characters height pyramid from "x" character [code] X XXX XXXXX [/code] 6 characters height [code] … |
|
There's a simple question? how to print the size of a variable without using functions like sizeof() ? for example if you were asked to write a program that prints size of int without using sizeof() with a resault as below: cout<<sizeof(int); |
|
Hey all, I was just wondering, is it safe to do something like this? [code] char *msg; sprintf(msg,"Forename: %s", fname); //where fname has been previously defined as char fname[ ] = "Jonathon"; [/code] My main query is around the allocation of the memory for msg. I know there are memory … |
|
ok, so i've read most of the stuff here to help with sorting string arrays in alphabetical order, but i got more confused... i need some1 to take a look at my program and see where i went wrong. also, i need help in getting the largest,smallest,and average... yes, i'm … |
|
Hi All, I need a software that would optionally let me open applications without the windows border, i.e, I don't want to see that blue border and the title bar for some of my applications(cause it spoils the appearance) I am using Windows XP(32 - bit) Is there any such … |
|
Heres a snippet that allows you to make your own images by using a mathematical formula. It gives you fast access to each pixel in the bitmap, and then saves the image as a [B].bmp[/B] once its made. You can be creative like this and make images which would be … |
|
I'm rather uncertain as to how you go from making programs which churn values on the Dos screen to actual graphics. I'm not asking for a lesson on this, but I am confused as to how a c++ program creates/manipulates graphics. Is it all done through widgets or is there … |
|
Hi please can anyone run this code for me in Linux .. i want to know what's the output [CODE=c++] #include <stdio.h> #include <unistd.h> #include <sys/types.h> int main(){ for (i = 0; i < 3; i++) { if (fork() != 0) { printf("ONE"); if (fork() == 0) { printf("TWO"); } … |
|
I want to create a 16-bit float datatype, allocating memory to exponential and mantissa part at my own discretion. How can I do that? |
|
Hi everyone, I am a little new to Java programming and am doing a simple project. The Problem is that I am able to connect but am not able to send any data. It is a little weird. The server gets the client's IP and the client to is connecting … |
|
hi can anyone pls suggest me website through which i can safely download a c++ software? |
|
Hi! I'm using a C program to open PDF files with this code: [code=c] ShellExecute(GetDesktopWindow(), "open", "c:\\someFolder\\myFile.pdf", NULL, NULL, SW_SHOWNORMAL); [/code] Now I need to go furthrer; I need to open the PDF file at a certain page. I've tried [code=c] "c:\\someFolder\\myFile.pdf#page=5"... [/code] ...as is suggested in Adobe's docs, but … |
|
I have a char array with a size of 17. I need to copy each block of 4 characters from the array into 4 separate char arrays. I'm not exactly how to go about this. |
|
I have a function that I call recursively, but I want to keep track of a maximum through the entire process. This is what I am doing: [code] void Intersect(double &MaxDistance) { if(something) MaxDistance = something; Intersect(MaxDistance); } [/code] Is that correct/reasonable? Something doesn't seem to be working and I'm … |
|
HI can u plz help me with this? [CODE=c]#include<stdio.h> #include<conio.h> void main () { int i,j; printf ("\t*"); for (i=2; i<=5; i++) { i=i+1; printf ("*",i); for (i=3; i>=1; i--) { printf ("*"); } printf ("\n"); } getch(); }[/CODE] its suppose to give an output in the form of diamond … |
|
Hey, does anyone know if it possible to have something like [CODE] #DEFINE NUM_DEC 4 printf("This is your value:%.NUM_DECf\n"); [/CODE] thanks in advance |
|
Hello, I've been having trouble trying to duplicate this program. My output differs from the sample output I was given for homework. I don't understand whats wrong with my code. [CODE] void displayUnion( iUnion ); union integer_union { char c; short s; int i; long l; }; typedef union integer_union … |
|
printf("\nThe Result is : %s %s %s %s %s %s %s %s\n",var[0],var[1],var[2],var[3],var[4],var[5],var[6],var[7]); while executing this i get correct result upto var[4].... and for var[5] and var[6] im geting some garbage valuess, then for var[7] im getg my result... whats wrong in my code..... |