199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for CharlieBrook

int main(void) { char faceValue[2]; char suitValue[2]; //User enters the value of their hole cards. setCardFaceValue(faceValue); setCardSuitValue(suitValue); for(int i=0;i<2;i++) printf("Element %i: %c %c\n",i,faceValue[i],suitValue[i]); return 0; } void setCardFaceValue(char* face) { char card[2][20] = {"left card:","right card:"}; for(int i=0;i<2;i++) { printf("Enter face value for "); for(int x=0;x<19;x++) { printf("%c",card[i][x]); if(card[i][x] == …

Member Avatar for Ancient Dragon
0
240
Member Avatar for ben.matthews18

Hi, I have an unordered list in a file called elements. is there any way of putting the unordered list into a variable so that i can use include to place it on my homepage? help would be appreciated thanks

Member Avatar for diafol
0
129
Member Avatar for anilchuthur

i havae problem java connection with sql server 2005 in windows authentication mode my code is as follows Class.forName("com.microsoft.sqlserver.jdbc.SQLServerDriver"); Connection connection = DriverManager .getConnection("jdbc:sqlserver://localhost:1433;database=dbName;integratedSecurity=true;");

Member Avatar for anilchuthur
0
329
Member Avatar for nonshatter

Hey, I am having a really annoying problem when trying to set up a foreign key in my database... I have two tables - Sell and Category I want the 'c_id' from the Category table to be the foreign key for 'p_id' in the Sell table. Both tables are InnoDB …

Member Avatar for smantscheff
0
4K
Member Avatar for anu013

Hey Guys, I m new here. I need a help I am working with a s/w where I need to fetch data from database onchange event. actually scene is the user will select one option (ie. name of company) from the dropdown box. According to that value the s/w should …

Member Avatar for anu013
0
7K
Member Avatar for danielbala

Hi, I have some issues like 1.for free classified ads website what CMSs or Ecommerce softwares or we can do just code in php without using any of these? 2.Same for social networking and job portal websites too?? 3.If we use just php coding for free classified ads website how …

Member Avatar for technolabinc
0
136
Member Avatar for raviaaaa

HI All i am new to java jdk 1.4 and tomcat 4 my requirement is id desc name firstname lastname 1 hi ravi m last 1 hi ravi m middle 1 hi ravi m mapp 2 hi kiran ha hey 3 hi vinoth hello yes id is ----id desc name …

Member Avatar for JamesCherrill
0
409
Member Avatar for danielsikes

Hi, I have a database table structure that works as follows: search_id: (auto int) group_id: (unique to group) field_name: field_value: so some entries in my db would look like this: search_id group_id field_name field_value 1 123456 fname John 2 123456 lname Doe 3 123456 email jdoe@abc.com 4 789012 fname Jane …

Member Avatar for rotten69
0
227
Member Avatar for cgull

Hello, I never used cron jobs before and now I have this scenario: I have a table with a Boolean column called: new. I need to check this table every day, and if the record was created 30 days ago, I need to update the column to False. Do I …

Member Avatar for cgull
0
368
Member Avatar for Albino

Errors: 1>main.cpp(9): error C2143: syntax error : missing ')' before 'constant' 1>main.cpp(9): error C2143: syntax error : missing ';' before 'constant' 1>main.cpp(9): error C2059: syntax error : ')' 1>main.cpp(63): error C2660: 'checker' : function does not take 9 arguments 1>main.cpp(71): error C2143: syntax error : missing ')' before 'constant' 1>main.cpp(71): …

Member Avatar for Albino
0
367
Member Avatar for jackmaverick1

During the process of creating my latest game, I've come across the problem of collisions. In the last few games I've made, I've used a system of collision detection that relyed on two rectangle's methods. This seems to work, but doesn't provide a method for dissallowing an entity entry into …

Member Avatar for jackmaverick1
0
214
Member Avatar for SAM2012

Hi, I need help in designing a function that would model the arrival of the messages in the queue following poisson distribution. I shall be grateful for this kind help.

Member Avatar for SAM2012
0
183
Member Avatar for KY_Fan

I have tried to figure this out on my own forever now. I have been getting hint from the net but can't figure it out. So I figured I would admit defeat and see what you guys could show me. I need the three numbers entered into this program to …

Member Avatar for sneekula
0
201
Member Avatar for warpstar

Can someone explain the code below? Is .next an operator in java that pushes the pointer to the next node in the linked list? Node E < -- type node? public E dequeue ( ) throws EmptyQueueException { if (isEmpty ( )) { throw new EmptyQueueException (”Queue under flow”) ; …

Member Avatar for warpstar
0
146
Member Avatar for mattclifton

Hi all I'm struggling with a MSSQL database that, ultimately, I want to get into MySQL, but for now I just want to import to a local server. I know nothing about MSSQL, but I am pretty familiar with MySQL. I have a .bak file exported from my current hosting …

Member Avatar for BitBlt
0
728
Member Avatar for shaanmugavel

I have finished my deployment process for my project in vb.net,but i didn't know how to protect my project. I request you to please tell me the way of serial key setting while installing my project in clients system. Also i have to faced one problem while serial key setting, …

Member Avatar for Reverend Jim
0
228
Member Avatar for danielgek

hi im studing on i have this work and its giving me this error: main.c||In function 'get_jogos':| main.c|75|warning: implicit declaration of function 'get_endereco'| main.c|75|warning: assignment makes pointer from integer without a cast| main.c|76|warning: assignment makes pointer from integer without a cast| main.c|122|error: conflicting types for 'get_endereco'| main.c|75|note: previous implicit declaration …

Member Avatar for danielgek
0
247
Member Avatar for mbarandao

Hello: I'm trying to get a record from mysql based on the query of another the queries separately: set @row_num = 0; SELECT @row_num := @row_num + 1 as row_number,queue_num,clientID,customerid, todays_date, request, details,status FROM queue_sys ORDER BY todays_date; outputs row_number queue_num clientID customerid todays_date request details status 1 14 44DWS …

Member Avatar for mbarandao
0
196
Member Avatar for prolaysarkar

I am trying to return the values of checkbox if the checkbox is checked before form submission it should remain checked after the post method. The checkbox works fine and gets updated in database i only need to retain checkbox values.....Thanks for help in advance <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML …

Member Avatar for Zagga
0
396
Member Avatar for triumphost

Yesterday I took a dive into smart pointers and wasn't sure when I should use them vs. Raw pointers. I found out they are quite useful but they do not work all the time for me. Example of working: char* Buffer = new char[1024]; fread(buffer, 1, sizeof(buffer), infile); //took out …

Member Avatar for mike_2000_17
0
234
Member Avatar for mbarandao

I have a list of customers on a waiting list for services to be rendered today. I want to calculate on average how long it takes from the time the customer was queued to the time that customer record was updated. I'm not really sure of the correct table structure …

Member Avatar for mbarandao
0
135
Member Avatar for hwoarang69

i have a link on zoom.php here i have a link where iam send image_id <a href=\"editimage.php?img=$image_id\">Edit</a> now i have a editimage.php where i reciving the image_id. $image_id_g = isset($_GET['img']) ? $_GET['img'] : 0; but i printing always 0's but i want to print the image id here i also …

Member Avatar for urtrivedi
0
169
Member Avatar for sangeetha.ar

hi, SELECT Sum(acpt_qty),mat_code1 FROM view_mrir_esd GROUP BY mat_code1 SELECT Sum(net_qty),mat_code1 FROM view_bom_total GROUP BY mat_code1 these 2 queries are giving the actual report, but when combining these queries like SELECT DISTINCT view_bom_total.mat_code1,Sum(net_qty),Sum(view_mrir_esd.acpt_qty) FROM view_bom_total inner join view_mrir_esd ON view_bom_total.mat_id=view_mrir_esd.mat_id GROUP BY view_bom_total.mat_code1 giving the wrong acpt_qty and net_qty. Please advise …

Member Avatar for adam_k
0
157
Member Avatar for bflack

Hello, can anybody help me here? I am using mysql database and xampp server. Now, I made the database using my laptop computer and I have to distribute the database with its records to another laptop computer. The problem is when I tried to transfer the database file to the …

Member Avatar for veedeoo
0
204
Member Avatar for dancks

Background, I want to install allegro on the iMac 10.6.8 after my macbook crapped out. It didn't compilers installed whatsoever, so I had to find Xcode at a seedy 3rd party site because apple no longer supports Xcode for 10.6. It came as a binary, simple install didn't give me …

Member Avatar for dancks
0
224
Member Avatar for reenarankawat

/* Reena Rankawat */ #include<iostream.h> #include<conio.h> void main(void) { char name[50],ch[11]; int x; clrscr(); do { x=0; cout<<"\n Welcome to KBC"; cout<<"\n\n Enter your name: "; cin>>name; cout<<"\n Enter answer in form of 'a','b' and'c'only."; cout<<"\n Q1.What is called as ' THE HOLY LAND'?"; cout<<"\n a.Jerusalem"; cout<<"\n b.Mathura"; cout<<"\n c.Mecca"; …

Member Avatar for Schol-R-LEA
0
6K
Member Avatar for DanCuster

Hello everyone, I am building a tic-tac-toe game for my final and everything is going smoothly except for one problem. The names I ask the user to enter at the beginning of the game, a replaced with null when the messagebox that shows who won appears. Here is the code, …

Member Avatar for JamesCherrill
0
641
Member Avatar for saadi06

Hi, I have a problem in making a query.I have two tables patient and encounter. Patient has one to many relation with the encounter table. The encounter table has a field encounter_date. I want to make a search query in which I enter the date ranges and the query fetches …

Member Avatar for diafol
0
175
Member Avatar for adchicago

Can some one help my butt out that why I only get one check box out of the 4 to show up in my email to myself when a user hits submit? When ever I check box any email I only get the bottom check box to show up in …

Member Avatar for adchicago
0
211
Member Avatar for shiushiu

need help in this work .... goal This work is to develop a system capable of managing bank accounts. description The banking system consists of a set of two banks where each bank has a manager, responsible for the accounts of that bank. Also part of the banking customers (maximum …

Member Avatar for Schol-R-LEA
0
153
Member Avatar for king03

Okay so I am having a problem with my program, because everytime I run my program and login a registered username and password, these username and password are accepted by the program but once you try to save your schedule, and logout, the next time you login that username and …

Member Avatar for james6754
0
334
Member Avatar for hasan101002
Member Avatar for SummerNight

Hi, How do I programatically find the GUID for the Sharepoint List **View** given that the name of the view is known. A user has to input the view name and the program should be able to spit out its GUID. Thanks.

Member Avatar for SummerNight
0
190
Member Avatar for DeanMSands3

tl;dr: I think my code sucks. Can you help me? I haven't written a test case for this class yet, but I want to make sure I'm doing it right before I go home tonight. The gist of the class is to provide a reusable ImagePrinter object that can print …

Member Avatar for DeanMSands3
0
229
Member Avatar for nikki05

Hi, My phpmyadmin is inside the server. I want to connect my database from my remote PC to the database in the server using php. I would greatly appreciate if someone can suggest a way to connect the database remotely in windows platform. Thank you.

Member Avatar for Coyx
0
206
Member Avatar for srg85

I have a data set in .txt format and want to do some arithmetic operation on the data set using C code. How to do the job? I want to make the text data into a 2D-array. The data set is like this: 1st col - year, 2nd col-January rainfall, …

Member Avatar for mridul.ahuja
0
2K
Member Avatar for tomtetlaw

I appolagise for the slightly ambiguous title, I didn't know what to call it. I want to create a way to define interfaces without having to also write the class declaration that implements it. I have the class members, and the interface defined, but I am not sure how (if …

Member Avatar for tomtetlaw
0
167
Member Avatar for maxamillian

I have some JavaScript code, currently it takes a users location and reorders a HTML ordered list to dosplay a list of items which are closest to the user's location. Can anyone help so that the items in the HTML list, which are in for instance a vicinity of 1KM …

Member Avatar for pritaeas
0
170
Member Avatar for joejo

*hello, *Please, i would like some help with how to start with my FINAL YEAR project work dubbed "SCHOOL TRACKING SYSTEM" . I am so much lost on how it shoud be like and what to actually do . Some support would be very much appreciated and am so much …

Member Avatar for joejo
0
198
Member Avatar for Goomba79

Hello, I have got a message box that is displayed when a database is successfully updated. my problem is when it displays the msgbox it is behind the browser. how can i make it so it is displayed on top of the browser? can i also get it to run …

Member Avatar for Goomba79
0
127
Member Avatar for nee_88

Hi, I have a doubt. Suppose we define a pointer or an array of pointers, and pass it to a function, as in like :- char *p; func(p); /*or this way*/ char *p[10]; /*and then pass this array somewhere to a fucntion*/ func(p); Here, in the call to the function, …

Member Avatar for deceptikon
0
119
Member Avatar for icefreezer7

Hi I started graphics programming only recently so im still a beginner at it. I've tried a snippet from online for c++ and I always get the same error message, Cannot open include file: 'stdafx.h': No such file, please help because Ive looked around this forum and I cant understand …

Member Avatar for Lucaci Andrew
0
419
Member Avatar for kim_boto

Hello Everyone,,please help me out here.i have a problem whicn needs to be solved.. i'm creating a windows form using C# visual studio 2005 and my database is SQL Server 2005..i have a Login table inside my database. the login windows works fine.however i need a form which will let …

Member Avatar for kim_boto
0
175
Member Avatar for 330xi

Hi! I have a Moniker from ROT and I have an "empty" _ApplicationPtr variable. How Can I have in _ApplicationPtr var a process by Moniker.

Member Avatar for 330xi
0
82
Member Avatar for Webbsta

Hello! I have a problem with my C# Client/Server network program. This problem only occurs when connecting via an IP over the internet, whereas everything works fine using a local address (127.0.0.1). What happens is while transferring a file (10kb or more maybe) using the below code, my receiving program …

Member Avatar for Webbsta
0
297
Member Avatar for ido098

I'm trying to write a video streamer using Socket and ImageGrab modules in Python. so far I've got a streamer that can send pictures of the desktop from one computer to another over a TCP connection, but as you probably can guess, the frame rate is very low so what's …

Member Avatar for TrustyTony
0
138
Member Avatar for testingcore99

Hello I am getting this error: error: expected '=',',',';', 'asm' or '__attribute__' before '.' token I am not sure what is causing it, it's probably something stupid which I have over looked, here is the problem code. This is a mac app btw DataClass *obj=[DataClass getInstance]; obj.str= @"test";

Member Avatar for testingcore99
0
1K
Member Avatar for aaloo

this is my javascript code for infinte carausal which is working fine but it is not taking more than 36 entries . <script type="text/javascript"> $.fn.infiniteCarousel = function () { function repeat(str, num) { return new Array( num + 1 ).join( str ); } return this.each(function () { var $wrapper = …

0
100
Member Avatar for Sendy Hipo

hi, i have problems with static member function the compiler's problems = "undefined reference" **Design a class Numbers that can be used to translate whole dollar amounts in the range 0 through 9999 into an English description of the number. For example, the number 713 would be translated into the …

Member Avatar for Sendy Hipo
0
712
Member Avatar for nuclear

I'm using the Guichan lib and I was trying to run the "First application with Guichan, OpenGL and SDL" example, which is located here [Click Here](http://guichan.sourceforge.net/oldsite/getting-started.shtml) . Everything was fine exept when I exit the program and delete all the pointers which were allocated with the "new" and because of …

Member Avatar for Lucaci Andrew
0
165

The End.