199,123 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for mc3330418

I have text file that has multiple x and y coordinates. I'm reding them in and trying to send them to drawrect. The problem I'm having is that the drawRect will only draw the last x and y that is read in here is how I'm reading in. for (int …

Member Avatar for JamesCherrill
0
486
Member Avatar for ravi142

Hello I want to make my site so Any one help me for Plugin like.. Responsive with includeing some Text in slider. Like [Demo-1](http://www.openxcell.com/) [Demo-2](http://www.indianic.com/) Thank you..

Member Avatar for pooja01
0
275
Member Avatar for komal.sharif.5

I am new to php. I want to insert the value selected from dropdown list in mysql database. i have two tables named tbl_user and tbl_domain. how may i storea value in tbl_domain selected from dropdown list. can any1 help me pls? here is ma code. pls tell me whats …

Member Avatar for nadiam
0
370
Member Avatar for chubbyy.putto

I dont know what is wrong. The output didnt show anythin. FYI I have p6.dat on same dic. it just the out put didnt print the number. #include <iostream> #include <fstream> using namespace std; const int mySize = 15; const int myStop = 3; void impliedTask(int *&,float *&); int main …

Member Avatar for Ancient Dragon
0
178
Member Avatar for Ryan_11

I am trying to pass some data from the database to a few textboxes and textarea but i am currently stuck. I would really appreciate some help to solve this issue. this is the code i am working with. I am able to pass it to the table but not …

Member Avatar for Ryan_11
0
545
Member Avatar for Gaven

Hi I would like to use randint from random to get random numbers, and after doing this I would like to add it to Dict or List and check if the number already added and which Postions this an have so it shoudl print out which possition this number have, …

Member Avatar for ZZucker
0
398
Member Avatar for tshukela.george

hi there I have made a connection to a database, and my problem is, when I try to add a new record to a table, it is fine for that time. Next time when I check the record is not there

Member Avatar for Reverend Jim
0
173
Member Avatar for newbiewwcode

Member Access Operators: . and -> http://msdn.microsoft.com/en-us/library/b930c881.aspx I read the above article and played around with some codes. I thought line 25 and 26 would work but they didn't. Can you guys please tell me why? Thanks for helping! #include <iostream> using namespace std; class State { private: int* state; …

Member Avatar for newbiewwcode
0
209
Member Avatar for iamthwee

Sup. I'm using codeigniter with twitter bootstrap modal window and I would like it to talk to the controller... How... Cheers in advance.

Member Avatar for diafol
0
377
Member Avatar for costigan555

I am having a little bit of trouble finishing a project I have made for myself. Also, before we begin, it is important to note I don't have much experience with C++ programming and programming in general. I realize my code is probably not the most efficient or even elegant. …

Member Avatar for iamthwee
0
373
Member Avatar for bushra mahboob

You are required to write a C++ program using loop and switch statement. The program should display even or odd numbers from 1 to 50 depending upon the option given by the user.

Member Avatar for iamthwee
0
104
Member Avatar for mpike

Alright so what I'm trying to do is send the form data to the value of whatever checkbox is checked in checkbox_1. <html> <head> <title>Untitled Document</title> <h1>Student Request Form</h1> </head> <body> <?php if(isset($_POST['checkbox_1'])) { $checkbox_1 = implode(",", $_POST['checkbox_1']); $to=implode(",", $_POST['checkbox_1']); $subject = "My subject"; $txt = "Hello world!"; mail($to,$subject,$txt); } …

Member Avatar for iamthwee
0
345
Member Avatar for carl.potak

Hi all. I'm hoping that one of you could assist me in what may be very obvious to you experienced folks, but what does the 5th line of code saying "**head("Home");**" do? The include statement already brings up home.php, and I'm not used to a templated website structure. Thanks in …

Member Avatar for carl.potak
0
188
Member Avatar for cahram

Hi, I'm new to Python and have a task of reading a user input text file that is tab-delimited and contains 4 columns in each line: Authors, Year, Title and Journal. I currently am just able to open a file, and now I don't know how to begin parsing the …

Member Avatar for nihad.aziz
0
4K
Member Avatar for Garidius

Hello to all, HAving a hash where its keys are associated with arrays like below: myHash = {"A"=>["HYU"], "B"=>["TU6"], "C"=>["11", "09","88","2"], "D"=>["01", "11"]} Each key represent one header and the arrays elements represent the values for each header. How to print each key in different column separated by comma "," …

Member Avatar for Taywin
0
407
Member Avatar for Gus_19

I am checking a couple of textboxes in my datarows. If the first textbox (event association 1) is not blank and it does not contain the word business, but the date of birth mtb is empty, then the statement is true and a messagebox will be displayed. Right now, I …

Member Avatar for Reverend Jim
0
309
Member Avatar for OTOSystem

I am a self-taught VB programmer and have found these forums invaluable. Usually the solution can be found here and I am happy - but this is causing me some trouble... I want to play a sound, using Media player, twice - one after the other. I have written a …

Member Avatar for oussama_1
0
193
Member Avatar for firepower

how do I make a pictur move?.code: public class picture extends JFrame{ private static final long serialVersionUID = 1L; JLabel ball; int h = 100; int l = 200; public picture() { System.out.println("working"); Icon bb = new ImageIcon(getClass().getResource("ball.jpg")); ball = new JLabel(bb); ball.setBounds(10, 10, h, l); ball.addKeyListener(new KeyListener() { public …

Member Avatar for Taywin
0
164
Member Avatar for Alxprog

Wikipedia page on DVDVideoSoft says it's written in C++ Qt and C#. So my question is this : in particular regarding the above mentioned product and in general what's written (or should be written) in C++Qt and what in C#?

Member Avatar for Alxprog
0
644
Member Avatar for mark103

Hi all, I need your help as I got a problem with the strings. When I get the list of strings for the input, I keep getting the same strings over and over when I output them. Here is where you can see in the output: <tv generator-info-name="www.mysite.com/xmltv"> <channel id="101 …

Member Avatar for mark103
0
160
Member Avatar for l3the

Hello to all programmers. I have joined this forum newly I decided to learn c++. Is there any video tutorial source for beginners that you know ? Thanks for your help

Member Avatar for Suzie999
0
380
Member Avatar for Suzie999

Hi mobile devs, I am noob to android studio and java, but have some c and c++ basic knowledge so not noob to programming in general. However I am also noob to all aspects of form design. I did not write title of Question singular because I'm pretty sure I'll …

Member Avatar for Suzie999
0
289
Member Avatar for candyandy212
Member Avatar for masonketcham

To my Inventory Program Part 4 there are three parts and I was able to compile successfully with the first two. I end up get several errors with part 3 and I am unsure to why. This is what I have. import javax.swing.*; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.awt.FlowLayout; import …

Member Avatar for Doogledude123
0
350
Member Avatar for sushilsth

array (size=4) 0 => array (size=7) 'id' => string '75' (length=2) 'room_name' => string 'Economy ' (length=8) 'no_of_room' => string '0' (length=1) 'price' => string '500' (length=3) 'description' => string 'asdfasf' (length=7) 'image' => string '' (length=0) 'hotel_id' => string '1' (length=1) 1 => array (size=7) 'id' => string '70' …

0
114
Member Avatar for bejfake

Hi, I have such simple structure in unmanaged C++: struct Cam { char ip[16]; char login[16]; char pass[16]; char name[16]; }; and C# marshalled structure: [StructLayout(LayoutKind.Sequential, CharSet = CharSet.Ansi, Pack = 1)] public struct Cam { [MarshalAs(UnmanagedType.ByValTStr, SizeConst = 16)] public string ip; [MarshalAs(UnmanagedType.ByValTStr, SizeConst = 16)] public string login; …

Member Avatar for bejfake
0
2K
Member Avatar for sriram_1

{ DataTable dt = new DataTable(); DataRow dr = null; dt.Columns.Add(new DataColumn("Color", typeof(string))); dt.Columns.Add(new DataColumn("1 mois", typeof(string))); dt.Columns.Add(new DataColumn("3 mois", typeof(string))); dt.Columns.Add(new DataColumn("6 mois", typeof(string))); dt.Columns.Add(new DataColumn("9 mois", typeof(string))); dt.Columns.Add(new DataColumn("12 mois", typeof(string))); dt.Columns.Add(new DataColumn("18 mois", typeof(string))); dt.Columns.Add(new DataColumn("24 mois", typeof(string))); dt.Columns.Add(new DataColumn("36 mois", typeof(string))); dr = dt.NewRow(); dr["Color"] = …

Member Avatar for sriram_1
0
414
Member Avatar for Yogesh_5

vb color commondialog box return color if i am selecting cancel in color dialog box.how we can handle this. commondlg.showcolor lblcolor.forecolor=commondlg.color

Member Avatar for Yogesh_5
0
292
Member Avatar for Labdabeta

Hello, I have an issue with a plain TeX document I am writing. I need to compile drawings as well as images into pdfs. I know how to get images into a pdf using \pdfximage which works if I compile with pdfTeX. I also know how to get drawings into …

0
165
Member Avatar for adsegzy

I have a products website. I have a table for product & another for makers where maker of products can be added. MAKERS TABLE ID MAKER 1 Nissan 2 Toyota 3 Audi 4. Honda PRODUCTS TABLE ID PRODUCT MAKER_ID PRICE 1 2000 Corolla 2 5000 2 2010 CRV 2 4500 …

Member Avatar for diafol
0
151
Member Avatar for Tinnin

Hi All, I'm running through "Head First Java" and I'm hitting a snag with an exercise involving RMI. My Classes ---- package myremoteimpl; import java.rmi.*; import java.rmi.server.*; /** * * @author Michael */ public class MyRemoteImpl extends UnicastRemoteObject implements MyRemote { public String sayHello() { return "Server says, 'Hey'"; } …

Member Avatar for Tinnin
0
4K
Member Avatar for engrjd91

I have my 2 php pages, one is the login page and the other is the cms page. I need to login into my account, whenever i Give my id and password in the login form the page should first check in the database whether the user exists or not. …

0
136
Member Avatar for ckir5951

hi someone tell me how to define Notice: Undefined index: id in C:\xampp\htdocs\invoice\getcheckno.php on line 6 Notice: Undefined index: taxrate in C:\xampp\htdocs\invoice\getcheckno.php on line 7

Member Avatar for Alberto Bucur
0
123
Member Avatar for Rasvinder_1

Hi all, I need help developing an application which detects if 2 images show the same person or not.... something as retina scan, which compares webcam captured image with one stored on the system..... Thanks.....

Member Avatar for pritaeas
0
271
Member Avatar for Mhayt

Hello How to solve this ?I got mad because of this quation Write a menu driven application using C language that performs some searching and sorting operations. Your application should be able to perform linear and binary search. In addition, it can perform sorting using one of the sorting algorithms …

Member Avatar for pritaeas
0
157
Member Avatar for ehpratah

Hi all I need some advice making my query work properly. I already played around it a dozen of times and still can't get it work. So as my last option im here:) . what im trying to achieve is sum all amount of a particular rows and display the …

Member Avatar for ehpratah
0
326
Member Avatar for bejfake

Hi, I start with code: int main() { Dict d; int n; std::cin >> n; char word[100]; for (int i = 0; i < n; i++) { std::cin >> word; d.addWord(word); } d.addWord("dog"); d.addWord("drog"); .... return 0; } I don't know why when I call method addWord manually, i.e. calls …

Member Avatar for bejfake
0
243
Member Avatar for airhalynn101

I have an identity (auto-increment) column in my mssql table, which is also my primary key. I want to use these numbers on my form, such that when I open that form, the auto-increment id will already be displayed on a textbox (so I wont have to type it in …

Member Avatar for airhalynn101
0
2K
Member Avatar for changeworld4u

Hi Team, I have a file which contain following data like BKP0000032183140217000019 053IGZYEVSDOX .........field 2....... field3.....field4..... BKP0000032284140217000019CCTP1220 ............... BKP0000032384140217000019CA ..................... each line has 5 fields Now using shell script i am trying to extract field 4 based on condition that line start with BKP and contain code 84 and CA …

Member Avatar for changeworld4u
0
288
Member Avatar for chubbyy.putto

I got an error: -Functions that differ only in their return type cannnot be overload (#8) -Implicit conversion loses integer precision: "time_t'(aka "lomg") to unsigned int (#14) -Implicit cnversion loses integer precision: long to int (#18) -Functions that differ only in their return type cannnot be overload (#24) #include <iostream> …

Member Avatar for chubbyy.putto
0
160
Member Avatar for jared.geli

Guys I need your help again I use this code to copy values from excel spreadsheet to datagrid. Try 's = Clipboard.GetText() Dim tArr() As String Dim arT() As String Dim i, ii As Integer Dim c, cc, r As Integer tArr = Clipboard.GetText().Split(Environment.NewLine) r = Form1.DataGridView1.SelectedCells(0).RowIndex c = Form1.DataGridView1.SelectedCells(0).ColumnIndex …

Member Avatar for jared.geli
0
211
Member Avatar for Papa_Don

Group, I've got a protected spreadsheet at work that prevents me from creating links or writing macro's to do some repetitive copying and pasting from one spreadsheet to another. I hope someone can help. I'd like to use VB (if possible) to copy from a specific range in Spreadsheet1.Sheet1 (let's …

Member Avatar for jared.geli
0
404
Member Avatar for Mhayt

Hello How to solve this ?I got mad because of this quation Write a menu driven application using C language that performs some searching and sorting operations. Your application should be able to perform linear and binary search. In addition, it can perform sorting using one of the sorting algorithms …

Member Avatar for Ancient Dragon
0
244
Member Avatar for ben.juarez.773

Hello, Simple question: how can I command pgs4a to use android-10 (2.2.3) instead of always using android-8 (2.2)? I've tried using the target commands, but to no avail, unless I have missing files? I have my game set up and built, i've successfully created 2.2 apk's but cannot figure out …

0
166
Member Avatar for vishalonne

Hello Below is the schema with sample data of table es_preadmission ![b3b82faffc743e08d6d6329b3a7b956d](/attachments/large/2/b3b82faffc743e08d6d6329b3a7b956d.JPG "b3b82faffc743e08d6d6329b3a7b956d") I am trying to get the number of male and female students from each categories (GEN, SC,ST,OBC), bpl, sgc, handi,ser_cat class wise. Example class 1 => GEN => Male = 3, class 1 => GEN => Female …

Member Avatar for joshmac
0
544
Member Avatar for M_I_K_E_911

So basically I need to create a short program that will allow the user to select "x" "y" and "z" with quanity. I know how I want the program to look "visually" but sadly I am lacking some of the elements required. I also want it to loop incase the …

Member Avatar for M_I_K_E_911
0
234
Member Avatar for BeckyAnne87

Hi there, I've started to create a site for me and my friends, and I want to be able to have each of us upload an image, and store it in a database, and then have it display as a display picture on a profile page. I've been looking around, …

Member Avatar for diafol
0
5K
Member Avatar for moone009

This is my main page where the user can choose a category from a drop down. I need that category selection to update my session variable so I can then send that variable to another php page execute a query and return the result in my div because I do …

Member Avatar for moone009
0
396
Member Avatar for Curious Gorge

Hello again! I want to know what the best way to approach understanding how an application works is. I have a game that is highly moddable with Lua and I would actually like to do that. The problem is I don't know how to make sense of it all. There …

Member Avatar for L7Sqr
0
199
Member Avatar for everton.retweets

Hi Everyone, I have been trying to work out how to add 20% vat to a total in php, but for some reason I am unable to. I have been using the following code, but I keep getting the same price for price_with_vat as I do for price_without_vat // price …

Member Avatar for everton.retweets
0
2K

The End.