10 Topics

Member Avatar for
Member Avatar for deceptikon

Hopefully I shouldn't need to explain what `gets` is or why it's easily one of the worst possible standard functions you could call in your code. In my personal opinion, the title for "holy shit, never use this function" is a tie between `gets` and `system`. I'll discuss the problem …

Member Avatar for rubberman
1
264
Member Avatar for somjit{}

# code to convert any base input to any base output (base limited upto hexadecimal) # ## scanf() works , but gets() stops working from 2nd iteration ## *i apolozise beforehand for the length of this post, i hope there will be someone who'll bear with me :(* **here is …

Member Avatar for WaltP
0
377
Member Avatar for pawan768

I use 4 radio button with the same name , and with same className, When Ever I try to get the value by using JavaScript it gave an value "Undefind" ,How to over come this???? alert(document.getElementsByName(m1).value); this is used by me to get the value of m1 name radio button …

Member Avatar for iamthwee
0
207
Member Avatar for pawan768

I want to delete a table after 15 days automatically from the date of its creation , please soem one help me to find out the solution , Some one suggest me to use trigger but i search a lot but unable to find out the solution .

Member Avatar for Octet
0
99
Member Avatar for PrimePackster

I have written a simple program to save details about a maximum of 20 people using structures. But when i run it, gets gives me error....... Here is the code... [CODE]// Hihi.cpp : Defines the entry point for the console application. // #include "stdafx.h" int _tmain(int argc, _TCHAR* argv[]) { …

Member Avatar for PrimePackster
0
181
Member Avatar for baby_c

Hi friends, well... i'm asking for another help from you guys.hope you will... My friend sent me a email asking why the following code doesn't work properly.I'm also couldn't understand what's happening..When this program run it supposed to prompt two times to enter values.but its actually prompt once. I tried …

Member Avatar for WaltP
0
214
Member Avatar for gkaykck

Hi I am trying to make my homework about a command line calculator, and i am trying to divide the entered string into small parts and i am trying to use strtok for this. [CODE] #include <math.h> #include <stdio.h> #include <stdlib.h> #include <string.h> struct var { char name[10]; double value; …

Member Avatar for gkaykck
0
590
Member Avatar for baby_c

hey guys i'm new to c and still learning.need some help here. i wrote this code and it isn't work properly,unable to figure out whats wrong!!but when the [B]strget()[/B] call from the main() its working.please some help... [CODE]main() { int x; printf("enter a value :"); scanf("%d",&x); switch(x) { case 1: …

Member Avatar for Aia
0
170
Member Avatar for riahc3

Hey Im doing a loop with somthing similar to this: [code=C] char stn[25]; do { printf ("Insert a number:\n"); gets(stn); }while (stn!="123"); if (str=="123") { printf ("Good value!"); } [/code] Now if I input 123, it enters the if that prints "Good value!" and the program ends naturally. Now if …

Member Avatar for jephthah
0
183
Member Avatar for aianne

Hi! I need help to my Turbo C program.. I need to create a program that will ask the "Starting X:", "Starting Y:", Ending X:", and Ending Y:" on different shapes.. this is how the program should be: [CODE]SQUARE: starting X: starting Y: ending X: ending Y: CIRCLE: Starting X: …

Member Avatar for Top9ne
0
1K

The End.