Search Results

Search: Posts Made By: vishnulinux
Forum: Programming 04-08-2011
3,129
Posted By vishnulinux
use the code..... but if u need a variable why use macro..... ?
#include<stdio.h>
#include<conio.h>
#include<stdlib.h>

#define NUM "8"
int main(int argc, char ** argv)
{
char s1[10];
itoa((atoi(NUM)-1),s1,10);
puts(s1);

getch();
return 0;
}
Forum: Programming 04-08-2011
885
Posted By vishnulinux
// See If this works only modified your code a...
// See If this works only modified your code a bit
//package org.hello.test;


import java.lang.String;
import java.util.Formatter;

/*
* To change this template, choose Tools | Templates
*...
Showing results 1 to 2 of 2

 
All times are GMT -4. The time now is 08:58 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy