199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for rahul8590

The program is fetching me the right output but still i am getting a warning #include<stdio.h> #include<string.h> int main() { char *p,*q; p=(char *)malloc(25); q=(char*) malloc(25); strcpy(p,"hello" ); strcpy(q,"hi"); strcat(p,q); printf("%s",p); } Warning test7.c: In function ‘main’: test7.c:6: warning: incompatible implicit declaration of built-in function ‘malloc’ wat exactly is the …

Member Avatar for rahul8590
0
254
Member Avatar for nv136

Hello everyone! i need a bit of help... can you convert my picture drag and drop code so it drag and drops audio files? (.wav) My code: Public Class Form1 Inherits System.Windows.Forms.Form #Region " Windows Form Designer generated code " Public Sub New() MyBase.New() InitializeComponent() End Sub Protected Overloads Overrides …

Member Avatar for nv136
0
273
Member Avatar for cristi08

Hellow peoplw. I have an update syntax that is doing something else than I expect. I want to update a table with price of the products for a selected user the form is ok but when I click update the order update only the last price inserted.Why? [CODE]p> Here you …

Member Avatar for MooGeek
0
77
Member Avatar for jelinky

this is the exact instructions: "The program will grade a series of exams and then print a grade report for students in a course. Input: An instructor has a class of students each of whom takes a multiple-choice exam with 10 questions. For each student in the class, there is …

Member Avatar for VernonDozier
0
192
Member Avatar for mukulnimker

pls help............ hello frnds i ma mukul i am working on a java project in netbeans i am using swing application there is a use of JTabbedPane for which i have to give the object of other class as a Parameter but when i create another class outside the previous …

Member Avatar for sidhu2204083
0
214
Member Avatar for Katana24

Hi, I would like to learn java-scripting. I have a Mac, version 10.6.4 and I know that I can use the built in "AppleScript Editor" application for it. But I can't get the option to change the language to "Javascript" even after moving the "JavaScript.component" to the "Components" folder in …

Member Avatar for Katana24
0
120
Member Avatar for AutoC

Hi, I have data coming over a socket that looks like this [code] (h)(int,char,float,int,char)(/h)(d)(2,a,1.32,45,d)(3,d,3.45,32,a)(/d) [/code] the datatype of the data arriving is dynamic and is only known when the header is received.I then have to create corresponding vectors(stl) to store the data. In this case, 2 int,2 char and one …

Member Avatar for Ancient Dragon
0
88
Member Avatar for lulemurfan

This is the part which searches and add the result to the 'pass' variable. At one stage I was getting a resource id number and found to get around that, but when I do this I get nothing on the pass variable [code] $result = mysql_query("SELECT `Pass` FROM `wiki` WHERE …

Member Avatar for lulemurfan
0
141
Member Avatar for tictac58

Hi, [B]There is a possibility that the server reset and there is nobody that can log in to system. I dont want my webpage stop working at this state.so I want it do its main job. The main job of this webpage(ASP.NET) is sending request to a client (via TCP …

Member Avatar for tictac58
0
95
Member Avatar for mozan

Hi aLL I have got problen in uploading photo in profile. when i checked coding i found ! here is where i found this sign [B]// UPLOAD PHOTO if( $task == "upload" ) { $user->user_photo_upload("photo"); $is_error = $user->is_error; if( [COLOR="red"]![/COLOR]$is_error ) [/B] [B][B] // UPLOAD PHOTO if( $task == "upload" …

Member Avatar for jibon57
0
183
Member Avatar for brown23

Hey Guys, I'm really stuck on how I can have the visitor change the style of the content on my webpage. I've looked into stylesheet switcher, but that changes a whole stylesheet, when really all I want users to be able to change is their preferred background color, alignment, font …

Member Avatar for george61
0
118
Member Avatar for vizz

I have sms gateway. Through that I can send sms from my website. How can I receive sms on my website. Every registered user can send sms from my website and I want to allow them to receive sms on my website.

Member Avatar for chrishea
0
284
Member Avatar for sudoku43

Hi all. Can anyone give me the ideas how to maneuver a snake in Snake game? I currently trying to do a snake game from scratch. Hope someone can give me an idea. TQ.. :)

Member Avatar for daviddoria
0
104
Member Avatar for Ancient Dragon

short program that will build a stl::list of directory names and all the files they contain. recursively calls itself when a new directory is encountered. This has been compiled with both VC++ 6.0 and Dev-Shed compiles on MS-Windows XP Pro. It will not work on *nix or probably MAC computers. …

Member Avatar for ll_MORTAL_ll
0
854
Member Avatar for thedrones

Hi all, I hope you are well. I have a very quick question for you please. I have a table with x rows and y columns. I need to select the top 100 rows ordered by col2 for eg. Further, I need to select only one row for a particular …

Member Avatar for 1stDAN
0
128
Member Avatar for Stefano Mtangoo

Hello All, I want to make a CD/DVD Library where by an admin can do all the operations while any other norma user can do limited operations (simply browsing and searching). I'm still organizing and doing simple design and I need your opinions on this: 1. What is the best …

Member Avatar for Stefano Mtangoo
0
1K
Member Avatar for reezox

Please Somoene Help Me i'm using visual basic 6 in platform windows xp how i want to use skin vista in myproject.exe? >>>can someone share with me an activex for vb6... :) :) [snipped email]

Member Avatar for amit208
0
89
Member Avatar for sainiricha

Hello, Can anyone tell me how do we validate date entered in a text box? I went to check whether the entered date in the text box is of correct date format. Please help me out!!

Member Avatar for M. Ashok Reddy
0
271
Member Avatar for ssagard
Member Avatar for dina

Hi everyone, Just need abit of help. im studying selection sorting at the mo.....ive wrote an essay wot it and how it works but im tryin to an example in java and im having problems with that.....im not a very good java user.....ive only just started. i just wanted to …

Member Avatar for javaAddict
0
486
Member Avatar for LianaN

Hi all! Could someone pliz explain me how to delete a component (in my case -> JLabel that is placed on JLayeredPane), when it is double-clicked? So, as far as I understand, I must first just detect a componment that is double-clicked and then delete it. Although an idea is …

Member Avatar for LianaN
0
204
Member Avatar for avario

I have a MySQL database that stores all messages for all topics and a database that stores information about the topics... On the any given topic page I want it to display the number of messages in that topic, this value would only need to be retrieved once when the …

Member Avatar for avario
0
123
Member Avatar for boyz

Suppose we have function foo() in Servlet A. From Servlet B how can we call this foo() function of servlet A? both servlet are from same application and in same context....

Member Avatar for himanijain
0
103
Member Avatar for happygeek

I will admit that I didn't stumble upon Steven Levy's classic tale of how the IT west was won, for want of a better phrase, until 1993 when it was republished some 10 years after the original book but with the addition of a handful of new pages to celebrate …

0
473
Member Avatar for meer pakala
Member Avatar for Babaty

Q1: design a system that will read students information, display them in a table form, and implement some operation on them. The system must show the following: ========================================================================= Do you want to add new students? Do you want to display the student information? Calculate the average of the final marks …

Member Avatar for prvnkmr449
0
125
Member Avatar for tatarao25

hi every one,i have one problem with DateTimePicker, i am displaying only years in dtp by setting custom Format property to yyyy and dtp format to custom and showupdown property to true. the problem is when i click once down arrow or up arrow the years in dtp continuously changing …

Member Avatar for tatarao25
0
105
Member Avatar for csweb

hi ! i created a submit form in php and when i submit it this error massage is coming (apache http server stopped working and was closeed) does anyone know what to do please help.

Member Avatar for pritaeas
0
130
Member Avatar for sftranna

hey dear, i am facing a problem while using MIGS. Problem is this that whenever im direccted to card details (Payment Details Page) amount that i sent t0 the VPC is divided by 100 so causing problems... so i get foar behind the success message :) my client is a …

Member Avatar for sftranna
0
146
Member Avatar for Manny7

Hi there, I solve all day long a problem with error "a is undefined". I have 2 pages -- index and the second page. On the second page I shows google map in div and all is alright. But on index page I get error message given in subject this …

Member Avatar for Manny7
0
168
Member Avatar for smith32

Hi, I need some help from u again..... if we type: Enter Input : eee ddd cccc the result should be like this : sorting : ddd eee cccc but actual result is like this : sorting : eee eee cccc I don't know why... Can u help me ?? …

Member Avatar for Adak
0
222
Member Avatar for shaileqs90

Its about visual basic. I am making an application for loan system.. I don't know whats the code. It goes like this, the situation is: * Count how many times does the CO-Maker grant already a loan. Need help for this.

Member Avatar for James cuck
0
328
Member Avatar for Ryujin89

My instructor wants us to create a program that relates to some event we have recently gone through and I need help to get the rest of the code to work. Scenario I passed by the instructor is : I just got a car which my grandfather paid in advance …

Member Avatar for James cuck
0
8K
Member Avatar for ss_hat

I'm running into a roadblock on my program and the deadline is Tuesday(9/14). I'm at work all day and I'm hoping the interwebs can help me while I'm away (i can check @ lunch). I'm very new to Java and I'm still trying to digest the terminology so any clear …

Member Avatar for James cuck
0
226
Member Avatar for kch1973

I am trying to get an array sorted but I can't figure out how to correctly write the "if" statement in the sort method. I have been given the task of sorting the arrays by product name. I am not done with the program, but what I do have so …

Member Avatar for tong1
0
76
Member Avatar for deepshikha.joha

I made this page and keep on getting error on the same page and webconfig file..... Errors Error 1 'Culture' is not a member of 'ASP.emergency_plan_error_aspx'. Error 2 'UICulture' is not a member of 'ASP.emergency_plan_error_aspx'. Error 3 'InitializeCulture'is not a member of 'ASP.emergency_plan_error_aspx'. Error 4 'CreateResourceBasedLiteralControl'is nt a member of'ASP.emergency_plan_error_aspx'. …

Member Avatar for rohand
0
196
Member Avatar for sudoku43
Member Avatar for Premsathishbe

Pls help me to know y the folder name with "com" is not able to be created on the desktop?

Member Avatar for Premsathishbe
0
76
Member Avatar for thedonedeal

Hi everyone. I'd like to know if anyone can help. I'm trying to write a code that looks for a number in a string which is a semicolon separated list. Example: I have the number 10456 stored in one variable. I have the results of a MySQL datafield which contains …

Member Avatar for Triztian
0
128
Member Avatar for niths

hi, i am having a website,and in that we are planing to put online help(online chat). so for that i need a chat script. I had seen many scripts but every script is like group chat means every persons message can be seen in that. so i dont want like …

Member Avatar for GigsD4X
0
61
Member Avatar for GigsD4X

Hi there, I want to grab a page from my site that's PHP, however, I don't want it to display the PHP... How can I do this?

Member Avatar for GigsD4X
0
451
Member Avatar for brettbed

I think I'm having trouble with using parameters correctly in the JUnit assert in my Test method. My assertion fails even though I'm pretty sure my logic checks out. How do I construct the correct test with assert? Any pointers appreciated :) [CODE]public String season(int month, boolean inNorthernHemisphere) { // …

Member Avatar for jon.kiparsky
0
324
Member Avatar for hui_yang

Is all non-tail recursion function convertible to tail recursion function? If not, what is the pattern of the non-tail recursion function which is not convertible to tail recursion function? Is there any method to recognize whether a non-tail recursion function is convertible or not convertible to tail recursion function? Thank …

Member Avatar for arkoenig
0
128
Member Avatar for fuser

Hey folks, recently I wrote a small application in java where it generates ip addresses in a 192.168.x.x block, and then proceeds to ping them to see if the address is available or not. The main issue with it right now is that it's extremely slow when I tested it …

Member Avatar for fuser
0
133
Member Avatar for Rishikeshan

Mingw shows [code] ----- CurlT ( MAIN GCC DEBUG DEBUG_FULL BLITZ WIN32 ) curl.cpp C:\MyApps\CurlT\curl.cpp: In function 'void* getfile(std::string, char*)': C:\MyApps\CurlT\curl.cpp:39: warning: cannot pass objects of non-POD type 'struct std::string' through '...'; call will abort at runtime C:\MyApps\CurlT\curl.cpp: In function 'int main()': C:\MyApps\CurlT\curl.cpp:57: warning: deprecated conversion from string constant to …

Member Avatar for vijayan121
0
216
Member Avatar for JayNak

Hi, I've been developing some code that parses output reports and re-reports on information that is of interest. I utilize strtok quite heavily in this program and I have run into the situation where my final strtok call may or may not return some info. Depending on if there is …

Member Avatar for Ancient Dragon
0
206
Member Avatar for bmos31

Ok, so I'm writing a program to convert decimal into binary. It all works with the exception that my binary shows up in reverse order and I'm having trouble with reversing the array of chars in my intToBinaryString() function. Any tips on how to get this started? [CODE]#include<iostream> #include<cstring> using …

Member Avatar for prvnkmr449
0
180
Member Avatar for koolman123

Hey, at my camp, I made a random 3D maze gen off of OpenGL So, I downloaded OpenGL 3.7, and I placed the glut.dll in the right place, the header file in the right place, the lib file in the right place etc. But my conflict is that I used …

Member Avatar for daviddoria
0
124
Member Avatar for GigsD4X

I tried to write [icode]include "http://".$_SERVER["SERVER_NAME"]."/lol.php"[/icode] and it didn't include it?

Member Avatar for GigsD4X
0
81
Member Avatar for iketunde

I have a php page with two hyperlinks. I one to send email to certain addresses and the other to also send emails to another address and also delete their records from the database. I don't want a case where the user accidentally clicks on the link takes the wrong …

Member Avatar for mohammed yaghi
0
2K

The End.