Vishal Sharma
@vishal-pysGmK Member
- Member since
- Joined
- Last active
- Active
- Member number
- Member #124,265
- Posts
- 34
- Replies
- 450
- Reactions
- 0
- Active days
- 0
Contributions
Last 12 months
0 contributions
- Active days
- 0
- Longest run
- 0 days
- Current run
- 0 days
Trophies
Featured trophies
0 / 8
Swipe or scroll to see more trophies
-
Replied #Threads
Why do we get a segmentation fault while performing any operation on an uninitialized pointer ?
radha gogia[HASHTAG]#include[/HASHTAG]<stdlib.h> [HASHTAG]#include[/HASHTAG]<string.h> int main(void) { char *p ; strcat(p, "abc"); printf("\n %s \n", p); return 0; } If I print t...
-
Replied #Threads
Tips For C++ Programmers - Read & Learn
Betty MariaGood tips but why did you use printf(); in C++? printf ("HELLO CEANS"); I think you should use: cout << "HELLO CEANS";Agreed. I mentioned that...
-
Replied #Threads
Thoughts and Opinions on Laravel?
Kaustubh KatdareIf php was slow, Facebook wouldn't be running it.That's maybe because there were not many options for server side coding those days. Benchmark for the...
-
Replied #Threads
Thoughts and Opinions on Laravel?
It doesn't matter that much, but I've seen php websites not being able to take load of more than 17 users. Probably a badly coded website,...
-
Replied #Threads
Thoughts and Opinions on Laravel?
The best thing I love about laravel is that, you actually don't need to know PHP to code on laravel. Its just that simple and straight...
-
Replied #Threads
User Login and Registration using Files in C
Joshua Dani MBut isnt that what you did in the code #-Link-Snipped-# ? Or am i mistaken?Yeah I did some modifications in the same code to...
-
Replied #Threads
User Login and Registration using Files in C
Joshua Dani MThank you! But i'm not that great in programming! could you modify the above program...it will be very helpful to me...and ill be grateful...
-
Replied #Threads
User Login and Registration using Files in C
Joshua Dani M#-Link-Snipped-# please send the complete code!Hey, I'm afraid i do not have this code with me anymore, as you see this is a 4-5...
-
Replied #Threads
Tips For C++ Programmers - Read & Learn
RedfredgThis is very indepth and informative tips. I have been learning C++ for 5 months and I do not know if I understand if I know...
-
Replied #Threads
Tips For C++ Programmers - Read & Learn
kagimu Edwarddude pliz would u hel[p and elaborate to me how to doiwnload and install the gcc compilers on window seven operating sytem?You can download Dev...
-
-
Replied #Threads
implementation of queue using stacks
The first thought that comes to my mind is, If 2 stacks are used, it is pretty straight forward. Push the elements to one stack and...
-
Replied #Threads
Tips For C++ Programmers - Read & Learn
manu bharadwajThank u vishal where can I download dev c++Google it buddy.
-
Replied #Threads
Tips For C++ Programmers - Read & Learn
manu bharadwajI am currently using turbo c++ compiler should I change to any other ?Yeah, use dev c++ if yu are a starter or else use...
-
Replied #Threads
Tips For C++ Programmers - Read & Learn
ankush0809is it necessary to learn c++ or html for PHP or if i want to learn wordpress only then, can i learn direct wordpress ?You eat...
-
Replied #Threads
Game Engines
Just select one and start working with it. I'd like to see tutorials on any of em.
-
Replied #Threads
Which programming language should I learn first?
sharfudeenI'm not a Dev, and i'm still a n00b at programming and also i'm concentrating only on the web developing. Even though on web developing (mostly...
-
Replied #Threads
How can web access be blocked for a specific group of users on a network with a firewall.
Umm, saw your other post as well. We already know this and have implemented. If you are making new posts regarding a topic that you know,...
-
Replied #Threads
Fibonacci series program in java without using recursion?
Why dislike button is removed? I really miss it right now 😔
-
Replied #Threads
temporary variable
Surya.Csethank u fo gvng proper ans......!!!...hv a nice dayStop using "SMS language"
-
Replied #Threads
IS CDAC IS GOOD OPTION AFTER GAP YEAR TO GET JOB??
#-Link-Snipped-# This should be moved from here maybe
-
Replied #Threads
What is the best way to learn programming?
kapsnI do want to know what small projects are you talking about or from where do i get these small projects to rebuild my own.If you...
-
Replied #Threads
How can we implement cursor, procedure and function in sql (oracle)?
subathra33How can we implement cursor, procedure and function in sql (oracle)????!!!#-Link-Snipped-#
-
Replied #Threads
Is java or .net is better in internet connectivity programming
Java, platform independent.
-
Replied #Threads
friends what are the best books to learn dotnet?
There is a section related to books on CE
-
Replied #Threads
Which technique or steps are use for finding the ambiguous word in the given context
Ketki DahadInput is given in the form of text string containing ambiguous word . The output should obtain the meaning of that ambiguous word in the...
-
Replied #Threads
Concept of public key and private key.
sndgpr26Hi All, Can any one explain me the concept of private and public key by giving a real life scenario. Actually i have an idea of...
-
Replied #Threads
Netbeans or Eclipse
proffyI once tried to download it from Internet and there were two versions. One was available for free and the other had payment issues. Could you...
-
-
Replied #Threads
Best option for me - Completed B.tech | Working in Wipro
Abhishek RawalBecause people, posts the thread like this; Stackoverflow uses Downvote button. And CE should introduce it too, or atleast shouldn't removed 'dislike' button.And, mos...
-
Replied #Threads
What suitable language to develop a network monitor application?
Abhishek RawalI just don't think using Java for desktop application is good move. It is memory hog. I always have noted that while using desktop apps...
-
Replied #Threads
Best option for me - Completed B.tech | Working in Wipro
Actually, I feel bad seeing a few questions on this forum. Glad you moved it from Computer Science area.
-
Replied #Threads
What suitable language to develop a network monitor application?
Abhishek Rawal"knock, knock" "who's there ?" ..... (A very long pause) ..... "Java" 😁 😁I guess I didn't understand the intention behind this comment? 😛 Tried...
-
Replied #Threads
Best option for me - Completed B.tech | Working in Wipro
Narendra Kr. shukladear all kindly suggest which is the best option me i have completed my b.tech computer science and now working in wipro as a...
-
Replied #Threads
What suitable language to develop a network monitor application?
kyleThanks for your information, i will keep researchingGood, Try writing some code and post your code if you are still stuck. We can help you debug...
-
Replied #Threads
What suitable language to develop a network monitor application?
kylei am good at java, vb.net and C. So far i done some researches about this topic regarding about Java, but many website said that getting...
-
Replied #Threads
What suitable language to develop a network monitor application?
kyleI am going to develop a system application which able to get wireless network details such as own IP, how many connected devices are connecting on...
-
Replied #Threads
How to develop cloud apps - which language & software?
Then I'd ask to have a basic study about what cloud is
-
Replied #Threads
How to develop cloud apps - which language & software?
Ankit mohantywhich language and software are required to devlope cloud apps.......................Lol, "cloud apps"
-
Replied #Threads
How to improve programming logic?
Latish1337hey guys tell me how to improve programming logicsI'll suggest a book you can use to understand the way you have to think. Made Easy -...
-
-
Replied #Threads
What is dc component for digital signals?
isha123#-Link-Snipped-# #-Link-Snipped-# I actually came across this while reading digital data transmission in computer networks.I don't see that in the question. Anyway, as samu...
-
Replied #Threads
Adding different type of objects in a List (Java)?
manishksIs it possible? And if yes how can I access them in JSP? Can any one help me with this? 😀Not a fan of JSP to...
-
Replied #Threads
Recursive functions and circular functions
proffycircle or represented by a flowchart that "goes on and on" See, the recursive function cannot be a circular function because even if there is a...
-
-
Replied #Threads
Library for c in Visual studio
Jatin Asijasometimes ,the order of statements was giving an error where it shouldn'tGive me the log and even the program that you are trying to execute....
-
Replied #Threads
Why constructors are not called as initializer in cpp?
They are not just used for that purpose
-
Replied #Threads
Is Game Development A Valid IEEE Project?
Faizan Fayaz1)Sir has asked me to check under which domain does games come and if that domain is available in IEEE domain list then you can...
-
-
-
Replied #Threads
What is dc component for digital signals?
#-Link-Snipped-# #-Link-Snipped-# Is this question in the right section?
-
Replied #Threads
retreive the sql queries
proffyI am using Oracle database management system to write SQL queries. So far, I have written around 200 queries in SQL command line editor to perform...
-
Replied #Threads
Is Game Development A Valid IEEE Project?
IEEE has some categories, you should probably look at those! (I wont give a link, as I want people to use google first). My project was...
-
Replied #Threads
Is Game Development A Valid IEEE Project?
#-Link-Snipped-# Haha, liked the poll 😁 I voted for you 😉
-
Replied #Threads
phpStorm - Github Integration
I have written a python script that uses oauth on bitbucket git repository to by pass username and password entry while cloning or pushing (to) a...
-
-
-
Replied #Threads
Best book for Database system concepts for students/developers?
Jatin AsijaNever done it through books, I learned Database through 0.W3CSchools.com and 1.Lynda.com 2.kudvenkat YouTube channels.Lynda was a very good suggest. Best video series yo...
-
-
Replied #Threads
Implemented a program in c for fifo..pls help
I think this program is supposed to be executed in unix box not on windows. I strongly feel that you are using windows (Just saw the...
-
-
Replied #Threads
Android App Development With C, C++?
Kaustubh KatdareI'm wondering if Google's just announced that developers will be able to develop Android Apps using C and C++ programming languages in addition to Java....
-
Replied #Threads
Timestamp in php
hmm, I think I found the answer. Will be useful for others I think <?php $time = date ( 'd_m_y_H_i_s' , time()); echo $time; ?>
-
Replied #Threads
How to create a website
Kaustubh KatdareI'd advise against the standard web builders from Godaddy. Not many happy customers there.Haha, yeah I'm completely against website builders. I like doing the thing...
-
Replied #Threads
How to create a website
Abra Ka Dabra KaBOOOOOM!!! Website ready 😁 LOL, anyway If you do not have programming experience, just go with website builders which most of the services...
-
Replied #Threads
eigen values in c
proffysolving manually requires simplification of a polynomial expression...... how to implement this from control system perspectiveWhat do you mean by control system perspective...
-
Replied #Threads
eigen values in c
If you know how to solve for eigen values manually, congrats! you already have the algorithm. 😀
-
Replied #Threads
C++ program iostream.h error
Rahulkumar200suffering from the same problem!!!!!posted the solution already
-
Replied #Threads
SQLite Vs MySQL:Better RDBMS for desktop application?
Shubham danewalaI want create data base to store govt. holiday date in database and this date retrieved from data base and compare to current date if...
-
Replied #Threads
Delete a column from a table
Rahulkumar200Try this ALTER TABLE table_name DROP COLUMN column_name;already answered by #-Link-Snipped-#
-
Replied #Threads
SQL Study Material for Beginners
aslijatinasijaLynda tutorials :available for free on youtube or search for kudvenkat sql tutorial,software they used is sql server 2008 R2Like for Lynda! 😀 Love those beginner...
-
Replied #Threads
SQL Study Material for Beginners
And, If you want a tool? You can use SQL Workbench I find it really good
-
Replied #Threads
SQL Study Material for Beginners
Rahulkumar200HELLO EVERYBODY, MAY ANYBODY PROVIDE ME ANY PROPER LINKS OR MATERIALS TO HAVE SOME IDEAS TO WORK ON SQL OTHER THAN THOSE OF DAILY CLASSES OF...
-
Replied #Threads
Delete a column from a table
Kaustubh KatdareThe original question does not talk about deleting a column from mysql database or excel or an HTML table. 😀 I just wish people could...
-
Replied #Threads
simple password program problem in c++
oh, my bad! didn't notice how old this post is
-
Replied #Threads
simple password program problem in c++
sumit_goelhello friends i m beginners of c++ and i want to make simple password program that will accept password from user and simultaneously display the stars("*"...
-
Replied #Threads
C++ program iostream.h error
use [HASHTAG]#include[/HASHTAG]<iostream> using namespace std; iostream.h is used in the ancestor blue screen editor. You are using a good IDE for developing the standards. Read...
-
Replied #Threads
Execute your C program code without <stdio.h> and <conio.h>
proffyWhat are the other possible system calls that can make our life easier? I am asking for basic systems calls only.By system call he means, the...
-
Replied #Threads
ISO file extractor
rashmi sarmahI need help in making this project which wil be compeletely in C languagae..the concept is like suppose I have a .iso file and inside...
-
Replied #Threads
python code snippets to just find and warn the vulnerable functions in c language
raahul suresh😀Yeah broSource Code please
-
Replied #Threads
Technology suggesions for cloud computing
yogini bendeI am a M.Tech student and want to do a final year project in cloud computing in the Software-as-a-Service (SaaS). I am knowing the basic...
-
Replied #Threads
WAMP - How to import database?
godymarolinHelp me please i want to know linux well hw can i do and where materials are available?Start using Linux. Everything follows on its own. And,...
-
Replied #Threads
Hypothesis paper on image processing
Vishal SathawaneHello Frndzzz, Friendz i want one hypothesis paper related to image processing to present in college . Can any body have such paper plz share...
-
Replied #Threads
How to disable pendrive port only and not other usb ports using java program?
Simmi27Can anyone tell me how to disable pendrive port only and not other usb ports using java program?umm, make a new post instead! Your question may...
-
Replied #Threads
SOFTWARE ENGINEERING IS THE TOUGHEST SUBJ :(
Y u no use facebook for such headings?
-
Replied #Threads
How to find out the location through IMEI id
radha gogiaI am making an android app and I want to get the values of latitude and longitude of a particular user depending on the IMEI...
-
Replied #Threads
jquery AJAX call (Laravel 4 PHP): Unable to retrieve data on my Controller
figured out 😒
-
Replied #Threads
jquery AJAX call (Laravel 4 PHP): Unable to retrieve data on my Controller
is there anyone who can at least give me a suggestion?
-
-
-
Replied #Threads
To know about project
I'd suggest to keep network security a part of full fledged project. That even makes your project useful enough (if it is creative) to be used...
-
Replied #Threads
Need help in a program..
pritambuYes because that code is working and giving the correct output.Wow! 😕
-
Replied #Threads
C compiler for 64 bit windows 8.1?
keep calm and download DEV C++ or Visual Studio Express edition
-
Replied #Threads
Working of virtual memory
Books are friends. You should first read the concept, if you still face doubts then post it on the forum. It'll be better if people clarify...
-
-
Replied #Threads
## operator in c language
madhuri thalluriHello friends, can anyone explain about the ##operator in c language and how it works??I think you couldn't find any documentation regarding this as it...
-
Replied #Threads
The CE Coding Challange
According to me python makes life easy, And so coding these small problems in python doesn't improve thinking skills
-
Replied #Threads
The CE Coding Challange
I'll lay the method here, Keep 2 pointers, 1 at the start and 1 at the end. compare, swap and increment/decrement (increment 1st pointer, decrement 2nd...
-
Replied #Threads
The CE Coding Challange
SurEC93Hello all! The new version of forum is cool😀 It's been a while I have practiced these kind of c programs. Below is one that I...
-
-
Replied #Threads
The CE Coding Challange
Harshad ItaliyaI am not sure if I understand your question properly but here is one lengthy code without thinking too much. #-Link-Snipped-# void main() { unsigned...
-
Replied #Threads
The CE Coding Challange
durgaavii's solution was best. but a non-pythonic way of doing it (elaborate). s = '100110111101' sn = '' # intiatize a new str for i in...
-
Replied #Threads
The CE Coding Challange
avii^I don't like C. So used Python. and strings are immutable in python, so its not possible to 'convert' itI know python strings are immutable, I...
-
Replied #Threads
The CE Coding Challange
aviibinstring = '1010101010' newstring = '1'*(len(binstring) - binstring.count('0')) + '0'* binstring.count('0')i'd appreciate a solution in C. And, convert the same input string i...
-
Replied #Threads
The CE Coding Challange
An array consists of binary number, swap all 0's to the end. Example : 100110111101 gives 111111110000
-
Replied #Threads
Storing images in db
generally, for storing files in any database, the file is divided into byte chunks with an ID to each chunk. Remember It's common for all the...
-
Replied #Threads
Networking Based Final year project
That's a good Idea. I don't know much so I'd ignore most of your specs and consider the point of running the application as soon as...
-
-
Replied #Threads
What is Cyber Forensics?
Aadit KapoorIs it a part of CS?how about using "google" once in a while?
-
Replied #Threads
Networking Based Final year project
I would hate surveillance on my private stuff 👀
-
Replied #Threads
Beginners Tutorial : The C-language.
I thought of sharing this with everyone. A good way to program and test your programs. Most of beginners generally code every logic inside the main()...
-
-
Replied #Threads
Tips For C++ Programmers - Read & Learn
vaibhav bhanawathello friends what should i do to convert my c++ code into an software which can be installed into different computer...........i am unable to open...
-
-
-
Replied #Threads
Write a Program to find Log of a number?
Aadit KapoorHey friends,I like to tell you that i am 14 years old.google it
-
Replied #Threads
Use printf and scanf without stdio.h
Aadit KapoorThank you bhaiya's and didi's One more question-: 1.What is a dummy loop in C?while(1) { } you can call this a dummy loop
-
Replied #Threads
Install Turbo C++ in Windows 8.1 64 bit
Rajni JainThese links would help you installing turbo C++ on Windows 8 / 8.1 <a href="https://blog.windows8downloads.com/2013/02/how-to-install-and-start-turbo-c-on-windows-8-x32-...
-
Replied #Threads
Which Computer Science algorithms should not be missed by students?
Shailaja TiwariDoes dijkstra's algorithm count ?It does! it's very useful. But i've never seen anyone implementing it in a proper way! Though it is in the...
-
Replied #Threads
What are the ways by which a scratched disk can be restored ?
Kaustubh KatdareMoved.thank you! 😀
-
Replied #Threads
Which Computer Science algorithms should not be missed by students?
prime sieve (sieve of eratosthene) algorithm!
-
Replied #Threads
What are the ways by which a scratched disk can be restored ?
and how this comes under CS/IT??
-
Replied #Threads
How to hack WIFI Password using linux mint?
sumitshrm45Do you know how to hack the password in Linux.Don't expect an answer on this
-
Replied #Threads
Most efficient way of incrementing: += Or i+1 Or i++ ?
Kaustubh KatdareWell, I think it'd be an experiment worth doing. Anyone wants to take it up?all the methods give same execution time for me 0.015s
-
Replied #Threads
Write C program to print without printf ()
Kaustubh KatdareMaybe we should attempt to write this code in various programming languages (without using the most common output/print functions)? Makes sense?@echo off echo hello...
-
Replied #Threads
Write C program to print without printf ()
You taking my viva? 😛 #include<stdio.h> int main() { fputs("hell",stdout); return 0; }
-
Replied #Threads
Pointers in C
Aadit Kapoorhow to master c language?take a real time existing software and try to develop that in small scale using c that's how i learned!
-
Replied #Threads
MVT or MFT in OS
aviiWindows defragments RAM or HDD ? and MFT/MVT applies to RAM or HDD ?I don't have any idea! would appreciate if you help increasing my knowledge...
-
Replied #Threads
MVT or MFT in OS
aviiwhy do you think like that ?if you go for defragmentation in windows, you'll see the programs being allocated after some spaces not together! and MVT...
-
Replied #Threads
User Login and Registration using Files in C
This is a very old thread! Problem has been rectified long back!
-
-
Replied #Threads
The CE Coding Challange
Write a program to find longest alphabatecial ordered substring of a given string Ex given string is "abcdabf" Longest substring is "abcd" Ex2 S-"abadghacr" Ans-adgh In...
-
Replied #Threads
The CE Coding Challange
Gaurav v. DeshmukhDecypher Alice and Bob are being held at Azkaban(Prison). They want to escape and join Dumbledore's Army. Alice wants to tell Bob about the...
-
Replied #Threads
The CE Coding Challange
was getting bored so painted a pic to explain the second code 😛 I don't know how much it explains though!
-
Replied #Threads
The CE Coding Challange
#define swap1(a,b) a=a+b;b=a-b;a=a-b; main() { int x=5,y=10; swap1(x,y); printf("%d %d\n",x,y); swap2(x,y); printf("%d %d\n",x,y); } int swap2(int a,int b) { int temp; temp=a; b=a;...
-
Replied #Threads
The CE Coding Challange
avii^no. No go to also.Okay this is another way! it doesn't use goto, recursion, no loops! unlike my post #123, in this main() doesn't call itself,...
-
Replied #Threads
Tips For C++ Programmers - Read & Learn
UPDATE Now This Post goes for C programming (can be used in c++ too but i prefer getline() for this in c++ as it matches the...
-
Replied #Threads
The CE Coding Challange
Basic rules: FIRST: C does not have :😔Scope resolution operator). SECOND: Please the full code.no one said that this thread is ONLY for C programming language
-
Replied #Threads
The CE Coding Challange
int a; void main() { int a; printf("%d....%d",::a,a); getch(); }i think the answer will be 0....<garbage value> as a is global so initial value is zero...
-
Replied #Threads
The CE Coding Challange
Jeffrey SamuelIs the answer something like sizeof(i)=2 Cos integer is 2 bit large and so expecting the answer to be 2nope! it'll be 1
-
Replied #Threads
The CE Coding Challange
vaibhav bhanawatwrite a program to print 1 to 100 number ......! without using loops and also without goto statement......!#include<stdio.h> int main() { static int i =...
-
Replied #Threads
The CE Coding Challange
Aadit KapoorThe output will be 12 and 143. then if we type two char's then it will give the value accordingly.I think it will give the...
-
Replied #Threads
The CE Coding Challange
Sanyam KhuranaAdding one more tricky question.... Write a PROGRAM to find a number is EVEN OR ODD without using any control construct(if,switch,loop) , relational operators and...
-
Replied #Threads
Tricky C Programs Collection
I think "the CE coding challenge" thread is kinda same! why to have two of such threads? 😨
-
-
Replied #Threads
confusing C question
Jeffrey SamuelSimple The first letter '0' indicate the compiler that the number is an OCTAL number '0x' indicates Hexa decimal numberand 0b for binary... Its same...
-
Replied #Threads
The CE Coding Challange
NikumbhAnother question : Write a program to sort the elements of an array, the first half of the array should be sorted ascending, the second half...
-
Replied #Threads
The CE Coding Challange
NikumbhWrite a program to reverse the words in the string ie., if "you are a boy" is a string then should be changed like, "uoy era...
-
Replied #Threads
The CE Coding Challange
Sanyam KhuranaYes, we want Pythagorean Triplets.. Which means you have to print all the three values between 100 to 900 ...I dont think we have any...
-
Replied #Threads
The CE Coding Challange
Sanyam KhuranaHere's one more.. Write a Program to print all Pythagorean Triplets that occur between 100 and 900. PS: Pythagorean Triplets are the numbers which satisfy...
-
Replied #Threads
The CE Coding Challange
Vishal0203Adding another question here!! write a program to swap all the occurrences of 0 to the end of the array! ex: input -> 1,0,2,0,3,0,4 output ->...
-
Replied #Threads
The CE Coding Challange
Sanyam KhuranaWhat I wanted to say is, I'm not a good programmer, not I'm a pro at forming algorithms, but we all have to start somewhere....
-
Replied #Threads
The CE Coding Challange
Abhishek RawalNope. Because 9,384,209 > 1,000,000.oh shit i took it for 10,000,000 😛 my bad then is it 958577 ???
-
Replied #Threads
The CE Coding Challange
The prime 41, can be written as the sum of six consecutive primes: 41 = 2 + 3 + 5 + 7 + 11 + 13...
-
Replied #Threads
The CE Coding Challange
Sanyam Khuranaoops.. Sorry, my bad.. just forgot that it says swap.. but what's the use of sort here..? Why do we have to sort..? Can't we...
-
Replied #Threads
The CE Coding Challange
simplycoder@#-Link-Snipped-# #include<iostream> using namespace std; #define total_count 10 int arr_numbers[total_count]; int main(int argc,char**argv) { int non_zero_count=...
-
Replied #Threads
The CE Coding Challange
Sanyam KhuranaOk, tell the output of this code and reason too for your answer #include<stdio.h> #include<conio.h> void main() { int a=-29, b=-3; printf('%d",a%b); getch(); }I kno...
-
Replied #Threads
The CE Coding Challange
Sanyam KhuranaOk, it's done..! 😛 Here it is, just removed the second array and used first array itself.. #include<iostream.h> #include<conio.h> void main() { int a[10],i,j,coun...
-
Replied #Threads
The CE Coding Challange
simplycoderMy bad, I have edited my previous post, your problem never said sorting, it was my wrong assumption, refer to above edited post.hehe but i gave...
-
Replied #Threads
The CE Coding Challange
I didn't find time to write a code, but here is an algorithm which I would use. treat 0 as highest number(replace 0 with infinity.. (if...
-
Replied #Threads
The CE Coding Challange
@#-Link-Snipped-# take time to read it and keep a paper and pen with you 😉
-
Replied #Threads
The CE Coding Challange
Sanyam KhuranaOk, will work on it... Can you explain this program, I'm not getting what you have done here.... basically these three lines of code is...
-
Replied #Threads
The CE Coding Challange
Sorry for that, but please explain all your programs too...2 of my programs are self explanatory, i'll add tags to my addition program
-
Replied #Threads
The CE Coding Challange
Sanyam KhuranaI have designed this code for 10 elements and would work as given. #include<iostream.h> #include<conio.h> void main() { int a[10],i,j,b[10],count; clrscr(); for(i=0;...
-
Replied #Threads
The CE Coding Challange
Sanyam KhuranaActually your code shouldn't use any semi colon. So, it would be something like this.. #include<stdio.h> int main() { if(printf("I don't have semi colon")) {...
-
Replied #Threads
The CE Coding Challange
Adding another question here!! write a program to swap all the occurrences of 0 to the end of the array! ex: input -> 1,0,2,0,3,0,4 output ->...
-
Replied #Threads
The CE Coding Challange
Q2. Write a Program to add two numbers without using "+" . #include<stdio.h> void multi(int,int); int main() { int a = 32,b = 15; while( b...
-
Replied #Threads
The CE Coding Challange
Q3. Write a Program to multiply two numbers without using "*" .#include<stdio.h> void multi(int,int); int main() { int a = 40,b = 30; if(a>b) multi(a,b); else.....
-
Replied #Threads
The CE Coding Challange
Q1. Write a Program in C/C++ to print a statement ( say "Hello World") without using a semicolon.#include<stdio.h> int main() { if(printf("I don't have semi colon"))...
-
Replied #Threads
The CE Coding Challange
-> Write a Program that print it's own source code ie it would then recompile and run itself !I think the program will run unconditionally and...
-
Replied #Threads
C++ program to calculate sum of numbers entered in real time
Nayan GoenkaWell it was only me with an idea. Others did the main job. Good job all with the program. 😁 @#-Link-Snipped-# @#-Link-Snipped-# @#-Link-Snipped-#you hit the...
-
Replied #Threads
HELP ME TO GET SQL QUERY FOR BELOW RESULT
Oh my god!! a home work! I never did mine! 😲
-
Replied #Threads
Tips For C++ Programmers - Read & Learn
sneha thoratyou are right........m just saying that on the basis of c++ program.Yeah! actually it doesn't make much difference... this is for cout! This is for...
-
Replied #Threads
C++ program to calculate sum of numbers entered in real time
rahul69There can be more than one method to do this, one is as told by Nayan ie using arrays. Other can be a modification to what...
-
Replied #Threads
C++ program to calculate sum of numbers entered in real time
Vicky Onei think m very dull about programming. what would be the correct code of following program. #include<iostream.h> #include<conio.h> int sum (char num[]); int main() {...
-
Replied #Threads
Run graphics command in Dev-cpp
A copied program!! executed in code blocks EP gives the output as the attached image! 😀 #include <graphics.h> #include <conio.h> int gdriver = D...
-
Replied #Threads
Run graphics command in Dev-cpp
shailaja revathiThanks for the link it solved some of my problems regarding sstream error. Will try others also.😀I researched on a few things. I think you...
-
Replied #Threads
Run graphics command in Dev-cpp
shailaja revathiActually dev-cpp doesn't allow the use of <iostream.h>.It throws an error on using it as 'iostream.h' header file not found .And hence I cannot use...
-
Replied #Threads
Run graphics command in Dev-cpp
shailaja revathiI tried it before but it again generates an error as "iostream.h header file not found".So this option doesn't work. no chance I've already given...
-
Replied #Threads
Beginners Tutorial : The C-language.
and my code for the question is this... kinda similar! and for n values! #include<stdio.h> int ar[100],i = 0; //array and 1 var int main() {...
-
Replied #Threads
Beginners Tutorial : The C-language.
Nayan GoenkaMeh, Put the for loop outside while, inside. It will work that way too. And if you are using 2 arrays, you have to use...
-
Replied #Threads
Beginners Tutorial : The C-language.
Nayan GoenkaMeh, Put the for loop outside while, inside. It will work that way too. And if you are using 2 arrays, you have to use...
-
Replied #Threads
Beginners Tutorial : The C-language.
Nayan GoenkaHere is my code. 😁 Its quite tricky to get the output as you wanted. Odds first then 0's 😛 Anyways it was good exercise...
-
Replied #Threads
Beginners Tutorial : The C-language.
Vishal0203try coding this!!! A good question! Write a C program to Remove even numbers and fill it with zeros. Note: You can use only one loop...
-
Replied #Threads
Synchronous and asynchronous interruptions
if there are two threads using the same resource, then to make the resource usage and sharing proper such that there is no inconsistency in the...
-
Replied #Threads
Tips For C++ Programmers - Read & Learn
simplycodercin and cout are preferred in C++ program. However, scanf and printf would work faster than cin and cout. Same way a C program can also...
-
Replied #Threads
Threads & Processes
rukawaWhen I create a program and want it to be executed using threads do I have to create them myself and add their code to my...
-
Replied #Threads
Compiling through command prompt problem
rahul69Actually I think it is the compatibility problem, my guess is that u are using Windows 7 (maybe 64 bit) so the exe being created is...
-
Replied #Threads
Compiling through command prompt problem
Abhishek RawalCould be. Have you tried this in any other PC ? Or simply switch to Linux 😁haha.. that would be the last option! anyway, thanks...
-
Replied #Threads
Compiling through command prompt problem
Abhishek RawalSo, only last thing comes in my mind is : Run CMD.exe as administrators.or may be its a problem with OS
-
Replied #Threads
Beginners Tutorial : The C-language.
try coding this!!! A good question! Write a C program to Remove even numbers and fill it with zeros. Note: You can use only one loop...
-
Replied #Threads
Compiling through command prompt problem
I'm using the things which came along with the dev-c++ ... the bin folder already consist of all the dll's necessary! and compiling the program through...
-
Replied #Threads
Compiling through command prompt problem
Abhishek RawalEdited, try this : Its similar to what i typed before there is no difference in g++ program.cpp -o program g++ program.cpp -o program.exe and...
-
Replied #Threads
Compiling through command prompt problem
Abhishek RawalJust type program in CMD shell.same... It's pissing me off now! 😕
-
Replied #Threads
Compiling through command prompt problem
Abhishek RawalTest with gcc (error in compiling) : Test with g++ (successful compiling & executing) : How you compiled without using -lstdc++ with 'gcc' ? 😨...
-
Replied #Threads
Compiling through command prompt problem
Abhishek RawalCd to directory where executable file is stored then ./exefile Doesn't this ^ executes the program ? Well from what I tested in Linux, gcc...
-
Replied #Threads
Compiling through command prompt problem
Abhishek RawalYou have to use g++ not gcc for C++ programs. g++ prog.cpp -o prog You can use gcc too, but you have to mention C++...
-
Replied #Threads
Compiling through command prompt problem
Abhishek RawalYou have to use g++ not gcc for C++ programs. g++ prog.cpp -o prog You can use gcc too, but you have to mention C++...
-
Replied #Threads
How to copy command line text to a file?
rukawaWhat's the way to do this kind of operation in linux? Script i think.. never used linux though.. got this suggestion from someone
-
Replied #Threads
Tips For C++ Programmers - Read & Learn
A Better way to code In C++ As, C++ gives you feature of class, you can use it to make separate modules or headers and just...
-
Replied #Threads
How to copy command line text to a file?
I'm not being answered to what I've asked Leaving the manual stuff behind, I want to go for a programmatic way. After any command you execute,...
-
Replied #Threads
Tips For C++ Programmers - Read & Learn
jimmhey guys hello !! and i am trying to do concatenate two words using while loop and in c++ and i am getting error so which...
-
Replied #Threads
Tips For C++ Programmers - Read & Learn
vikaskumar11233Okay now i got it Vishal, thank you for solving my problem void main() declaration. I want to know more about the standard libraries and their...
-
-
Replied #Threads
Embedded C and ANSI C
Abhishek RawalWe use C in Embedded systems. Infact, C language is the most preferred language for Embedded systems. In simple words : Embedded C is subset...
-
Replied #Threads
Embedded C and ANSI C
Harshad ItaliyaI second you Vishal. I can see embedded C is using most of C part but it has some additional features. Vishal, Generating hex file...
-
Replied #Threads
Embedded C and ANSI C
Umm.. I don't think we use C in embedded systems.. As far as I know, Embedded C was developed using C mainly for hardware communication and...
-
Replied #Threads
Is C Programming Language Platform Dependent?
Yeah it is platform dependent. The object code created after the compilation of code requires different kind of processing depending on the OS
-
Replied #Threads
What is the logic behind these smiley?
I think the reason behind this is, the device through which you access your facebook account. If you notice, the smiley's in your smartphone are different...
-
Replied #Threads
How to save console output to text file?
bnssir,we want our relational database table which is in mysql to be converted into xml file.i don't know the exact way but, I can tell you...
-
Replied #Threads
How to save console output to text file?
bnsthanks for the help. can u tell us how to convert mysql database into .xml file?database into xml?? can you be a li'l clear?
-
Replied #Threads
What is the full form of Google? (2023)
rahul69Like the one who manages is known as Manager.. 😁....Yeah!! 😀 Easy to understand! 😛
-
Replied #Threads
What is the full form of Google? (2023)
shalini_goel14Unfortunately , I am the only proof. Now you people are not trusting me -what can I do 😔 and I don't think so my sister...
-
-
Replied #Threads
Problems in retrieving value stored in PIC
Harshad ItaliyaGreat ! I suggest to go with MPLAB X and XC8 Compiler. I am not sure Mikro C is better or not but I am...
-
Replied #Threads
How to save console output to text file?
I think you want it to be done automatically, so add a statement in your program cmd.setCommandText(_TSA("the query given by rahul69")); cmd.Execute(); NOTE: this is using...
-
Replied #Threads
Problems in retrieving value stored in PIC
Harshad ItaliyaOf course.. You can access COM port in your application. When you want to read some data you have to send some command say "*GET~"...
-
Replied #Threads
Problems in retrieving value stored in PIC
Harshad ItaliyaWhat do you mean by activating UART after 30 days? You can find routines for EEPROM read and write. Also some example code of UART...
-
Replied #Threads
Problems in retrieving value stored in PIC
Harshad ItaliyaIn which memory you want those data to be stored? Internal flash or RAM? Which microcontroller you are using? You can easily send data to...
-
Replied #Threads
Execution of java program with arguments in Netbeans IDE
Use any one file as your main program (which consist of your main()) and keep the remaining programs with class definitions. you can access those classes...
-
Replied #Threads
How to access value of structure variable in different files using extern
i'd like to see a example code!
-
Replied #Threads
Beginners Tutorial : The C-language :: Discussions
SamiZzYHad to read 4th step again n again bt thnx man priceless explanation.I wanted you to do a little work over the calculation of (--x -...
-
Replied #Threads
Beginners Tutorial : The C-language :: Discussions
SamiZzYActually I was hoping if someone could explain it step by step . I knw abt the post and pre increment operators but again and again...
-
Replied #Threads
Beginners Tutorial : The C-language :: Discussions
sorry about "gjhgj" 😛 I was unable to post 😒
-
Replied #Threads
Beginners Tutorial : The C-language :: Discussions
I think calculating the value of z and y is not a big deal, still I'll explain.. after 1st line x=y=z => x = 10, y...
-
-
-
-
-
Replied #Threads
Unable to connect c++ and sql(database) using codeblocks
You will have to download SQLAPI.H and link it to your project. But, there is problem. When I used SQLAPI.H, and created an app, that time...
-
Replied #Threads
How to access value of structure variable in different files using extern
Pushpendra2911thanks rahul for your reply. but in my project i have whole library and i want to use value of one particular variable in several different...
-
-
Replied #Threads
Sensor to read LCD & Controlled By MCU?
Abhishek RawalYes, you can. You can connect digital cameras with Arduino & control it. I hope you know "Arduino".If not, then no need to worry; It's...
-
Replied #Threads
Sensor to read LCD & Controlled By MCU?
Abhishek RawalWithout tampering the device, I don't see any possible way.Okay! Any camera that can be controlled via an MCU?
-
Replied #Threads
Pthreads problem in c
micheal johnHi everyone i'm new to programming and i have a project in which i have to use 4 threads to execute 4 methods using pthreads,...
-
Replied #Threads
Sensor to read LCD & Controlled By MCU?
Abhishek RawalOkay, Would you please post little bit of more details ? like what you're trying to implement & how? I wanna know why do you...
-
Replied #Threads
Sensor to read LCD & Controlled By MCU?
is there no one who can answer this?? I need assistance ASAP 😖
-
Replied #Threads
Tips For C++ Programmers - Read & Learn
Badbade AbhiThank you Vishal sir.. In future further programming i will definitely follow your instruction...Hattsss of your knowledge sir... with regards, AbhiI hope you do! becau...
-
-
Replied #Threads
What is the function of 'main' in 'c' programming?
lit-857wts d/f b/w celloc() and melloc() fnummm... do you have a text Book to learn C?? I think you must refer that.. text books are the...
-
-
Replied #Threads
Tips For C++ Programmers - Read & Learn
safiajen0055Nice In Nice Information 😀 Thanks for sharing this Information With us 😀and yeah, instead of fflush(stdin) before cin.get(), you can even use cin.sync() it avoid...
-
Replied #Threads
I want proper validation about character or string input at run time.
I tried compiling your project.. I think you use the blue screen editor and hence got a lot of compilation errors.. I have some problem with...
-
Replied #Threads
It's challenging , can any resolve problem related with java RMI in netbeans ?
hare singh nayakhay guys i am developing an rmi based application in netbeans 6.9 but i got found this exception access denied java.net.socketpermission 127.0.0.1 connect resolve.....
-
Replied #Threads
What is the function of 'main' in 'c' programming?
main is a function and array is a collection of elements of same data type defined under same name.. no point of getting confused here.
-
Replied #Threads
What is the function of 'main' in 'c' programming?
Means, if main returns a null value, then the program is executed successfully.. 0 indicates EXIT_ON_SUCCESS any value other than zero indicates unusual execution..
-
Replied #Threads
How to find out who is behind Facebook confession page?
AbraKaDabraLike avii said, there is no way you can know that ideally. I read on a blog a while blog that That's why it is getting...
-
Replied #Threads
Pls tell me some miniprojects related to Cs.
erishi. .one of My frnd studyin B.E,he need some ideas to do a miniproject😀 so pls pls suggest some ideas for this. N he wanna do...
-
-
Replied #Threads
What is the function of 'main' in 'c' programming?
RTE stands for run-time environment.. main() returns value to RTE itself, indicating its status of execution
-
Replied #Threads
What is the function of 'main' in 'c' programming?
lit-857who call the main functionits the operating system... and main() is always "public" so that it is visible to the OS
-
Replied #Threads
What is the function of 'main' in 'c' programming?
ianoopvoid main() means... this function is not returning any value. int void main() is a illegal declaration . either it could be int main() , which...
-
Replied #Threads
I Want To Program Code In Cpp
Umesh BhosaleAn electricity board charges the following rates to domestic users to discourage large consumption of energy : For the first 100 units - 60P per...
-
Replied #Threads
I want proper validation about character or string input at run time.
Dude! better write comments in your code.. Makes it understandable.. try type casting like (int)(ch - '0') i think it will work fine.. it'll convert your...
-
Replied #Threads
ER model of bank management system
Run the horses of your brain and try making it on your own! There's no point of asking this question..
-
Replied #Threads
How we can Validate the Float number in c++?
there's no need of generating an exception.. Every integer arithmetic's can be performed using float too... so your program will work fine!
-
Replied #Threads
Decorate output in C
instead of doing the things manually like soniyo said, you can let your program change the color.. using system("color hex"); where hex means a hexadecimal number..
-
Replied #Threads
Beginners Tutorial : The C-language :: Discussions
suchismith roywhat will be the output and why main() { if(2,1,0) printf("yes"); else printf("no"); the output comes as no..as i have compiled it ...plz expalin me...
-
Replied #Threads
Tips For C++ Programmers - Read & Learn
vikaskumar11233Hey, Every thing is clear to me, but I have a little doubt in void main() function. I learn that void returns nothing, then why do...
-
Replied #Threads
Water marking technique
why don't you give a try to google?? 😀 read the articles regarding this and let us know if you still have doubts!
-
Replied #Threads
POI API Implementation problem
The_Big_KWhy not share the answer so that others who're facing the problem will know how to solve it? 😀 I'm sorry to hear that the question...
-
-
Replied #Threads
Tips For C++ Programmers - Read & Learn
Many people ask suggestion for C++ projects. Its not me or someone else here, will give you the ideas. It has to be generated in your...
-
Replied #Threads
Create shortcut on desktop using command prompt or C program
I used Uharc to get .uha file... and then extracting .uha accordingly in a particular drive but it seems a little complicated.. I got the shortcut...
-
Replied #Threads
Best Antivirus: Post your rating and experience
The_Big_KStrange, I used AVAST for nearly 2-3 years and never had any issue with it. In fact, I found AVAST and AVG to be a good...
-
Replied #Threads
Best Antivirus: Post your rating and experience
avast sucks! deletes the files without our permission... quick heal and bitdefender are too gud!
-
Replied #Threads
Explain the output of these short C programs
1. You've declared var as static. Hence, it doesn't change its value at each recurrence. So, at each recurrence, it prints the value of var which...
-
Replied #Threads
What is output handling function?
in case of files, i agree with #-Link-Snipped-# but if it is not for files, then the output handling or manipulating functions are used to display...
-
Replied #Threads
How to stop programming running in background?
the easiest way to close such processes is through task manager. all the unwanted processes must be closed via "process" tab.. But, you must know which...
-
Replied #Threads
Windows 8: Bugs & Comparison Of Extreme Features With Windows 7
the entire windows series is getting better in looks but getting worst in the case of "freedom" freedom here means, that the windows 8 doesn't allow...
-
Replied #Threads
NTFS & FAT Data Transfer Speed Comparison
Kedar MalwadkarOne of my friend told me that changing the file system of pendrive to NTFS makes data transfer faster, is it true? Whats the difference...
-
Replied #Threads
Does call by reference actually exist in c
actually, while passing array you don't even need to write '&'
-
Replied #Threads
What to study to become a good software engineer?
Vicky Abishekcan u give any link for java tutorial ???Buy a book buddy!
-
Replied #Threads
analog and digital computers
yuukiwhat is the difference between an analog and digital computers?? i've searched all over the google but I need more information..Help...An analog computer basically performs it...
-
Replied #Threads
How to recharge a waste dry cell
I think this post is posted in the wrong section... dry cell in Computer science?
-
Replied #Threads
Can I keep two windows in one system?
akashramWindows xp is better for running program language like c , c++ , javawindows xp is better to run C and C++ program language ONLY if...
Activity by month
Where Vishal contributes
-
#Threads 484 · 100%
Highlights
- Reactions per contribution
- 0.0
- Best answers
- 0
- Member for
- 14 years