199,114 Archived Topics
Remove Filter ![]() | |
would it be possible to right a program that would create a sort of virtual audio device that would show up under playback devices and that i could set as default, the purpose of this virtual audio device would just be to redirect the audio stream to a different device … | |
Hello, I was wondering about this: [Popular Sites Programming Language](http://en.wikipedia.org/wiki/Programming_languages_used_in_most_popular_websites) Is it possible to program all those popular sites just using PHP ? I was just wondering (never really actually program websites using C++ / Java before - don't even know if you could such language to program websites) ![]() | |
Hello, I'm trying to program a Caesar Cipher, but I keep getting weird errors. My input is not being handled correctly. I have no idea, i've tried different variations, but it does not work, here is my code. import java.io.*; import java.util.Scanner; public class CaesarCipher { public static final int … | |
Entry.php <?php require 'config.php'; if (isset($_GET['logout'])) { unset($_SESSION['isLogged']); unset($_SESSION['isLogged']); session_destroy(); header('location: index.php'); exit; } if (!isset($_SESSION['userLogin']) && !isset($_SESSION['isLogged'])) { header('location: index.php'); exit; } ?> <!doctype html> <html> <head> <meta itemprop="image" content="mainlogo_title.png"> <title>SEA TURTLE NEST MONITORING RECORD</title> <link rel="shortcut icon" href="mainlogo_title.png" type="image/x-icon"/> <link rel="stylesheet" href="css/link.css" /> <link rel="stylesheet" type="text/css" media="all" href="jsDatePick_ltr.min.css" … ![]() | |
I Have a problem with saving a photo. When i put <form action="" method="post" enctype="multipart/form-data"> i saves the photo on the path but it doesnt saves it on the database. Althought the other values are saved (title,date, id etc). When i put <meta http-equiv="Content-Type" content="text/html"> <form action="" method="post" enctype="multipart/form-data"> the … ![]() | |
textpad 5 generated an "unexspected and unrecoverable error" with a large data file of mine and at first i though it was due to length. (1280 lines, 188kb) but there are much bigger data files involved. (5 to 6000 lines and >30000 characters in one) it gives out e dmp … | |
Hello, I have the following array Array ( [0] => Array ( [cName] => 'Lexington Table Tennis Club (9/30/2014)' [local] => 'Castlewood Gym 201 Castlewood Dr. Lexington, KY 40505' [days_times] => 'Saturday - 2:30 - 6:00PM and Sunday - 9:15AM - 12:00PM' [contact] => 'Babak xxxx 859-xxx-2498' [marker] => '<-----CLUB … | |
This is the function : node* remove (node* p_tree, int key) { if ( p_tree == NULL ) { return NULL; } if ( p_tree->key_value == key ) { // the first two cases handle having zero or one child node if ( p_tree->p_left == NULL ) { node* p_right_subtree … | |
I use md5(), but what is better that md5 ![]() | |
Hello, Can someone help me understand what is (if it is) the difference between `string* myStr` and `string *myStr`? Or any other type of definitions like that: `int* myValue` vs `int *myValue`, `char* myChar` vs `char *myChar`. The position of the "star" is confusing me. I only used pointers like … | |
I want to read data from database. the data is in arabic language. the character set of my database is AL32UTF8. when i try to retrive the data i get "????" please do reply how to solve this problem this is the code public static void main(String[] args) { // … | |
I'm programming Blackjack and all is well, except after I type 'y' to hit again, the program terminates even though total is still less then 21. So my while statement is doing nothing? package com.github.geodox.blackjack; import java.util.Random; import java.util.Scanner; public class Blackjack { private static int total = 0; private … | |
I have an array ob objects like this `[Object { cat="4", attr={"att1":"val1","att2":"val2","att3":"val3"}}, Object { cat="2", attr={"att1":"val1","att2":"val2","att3":"val3"}}, Object { cat="3", attr={"att1":"val1","att2":"val2","att3":"val3"}}, Object { cat="2",attr={"att1":"val1","att2":"val2","att3":"val3"}}, Object { cat="3", attr={"att1":"val1","att2":"val2","att3":"val3"}}]` and I have series of divs with child divs as follow <div class="container" data-cat="1"> <div class="zone" data-product=""></div> <div class="zone" data-product=""></div> <div class="zone" data-product=""></div> … | |
i am using turbo c++ 3.0 but it has not good graphics.i try visual studio and dev c++ but its syntax is changed. i want a compiler that has same syntax like turboc++. plz name it and give me a dowload link for 64bit os. | |
Hi, I'm not sure if I'm posting this in the correct place as this is related to nginx configuration and not specifically PHP scripts. If I am posting this in the wrong section, please let me know and I will post it in the correct location (unless a Mod is … | |
I need to code a program to compare the datas in .csv file (.csv file is an excel file which will be seperated by , instead of cells by saving in.csv format). I've coded it fully and the required outout is also obtained. But i need a modified version of … | |
Hi everyone, I am working on an small inventory management application for learning about swing and i am using jTable to display the contents of MySql table i have to refresh the contents of my jTable instantly whenever i Add an new customer but i couldn't do it because i … | |
![]() | hi guys i just wanna ask why does my program gets an error after i tried changing the formborder to none, the error i get is about the 'Windows' and 'Drawings' not being a part of 'System.Windows.Form.TabPage', what might be the problem of this? ![]() |
I need help with a program for school. I am a very novice pascal programmer. I need to allow the person using the program to add a record and then search for it and view it. Currently, whenever I add a record via the program and try to search for … | |
Hello Below is the code by which I trying to get AGE of students as on 31-March of current year in this format -> 6 years, 3 months, 14 days. But I am getting differnece in Days. I checked the age from this site [http://www.calculator.net/age-calculator.html ](http://www.calculator.net/age-calculator.html) Example 1. 19-12-2007 should … ![]() | |
Hi all, I'm new to this site so please forgive my ignorances. I am a beginner at Java and I've been assigned to do a project about an Airline Reservation System. So the objectives required are: Reserve the ticket Cancel/Confirm Reservation Book the ticket Change / Cancel Booking Waiting List … | |
Please, my login form could not login to user homepage, it display (SELECT * FROM members WHERE email = 'wareez' AND password = 'lord') and this is the login.php code <?php Please, my login form could not login to user homepage, it display (SELECT * FROM members WHERE email = … | |
First, to explain what I want to do: I have a folder structure like this: BSDS300\images\test\ -which contains JPEG files, and some other files(only .jpg files are of interest) BSDS300\human\color\ -which contains many folders, in which I have .seg files with the same name as the .jpg file Example: BSDS300\images\test\3096.jpg … | |
![]() | OK... so here's the deal. I have tried multiple Google and forum searches to no avail. Maybe it's they way I'm searching but this is a last resort. I'm trying to have a page (HTML and Javascript mix) that a user can input a few lines of code into. Then … ![]() |
Hello, I am building a multidimensional array with the following code: $array_two = array(); $arrayIndex=0; $loopCount=0; $second_index=""; foreach ($result as $myValue) { $loopCount = ($loopCount<5) ? $loopCount : 0; switch ($loopCount) { case '0': $second_index="cName"; break; case '1': $second_index="local"; break; case '2': $second_index="days_times"; break; case '3': $second_index="contact"; break; case '4': … | |
Hello, I have the following array: Array ( [2] => Champlain Valley TTC(1/31/2015) [5] => Old Shelburne Town School5420 Shelburne RdSherburne, VT 05482 [6] => Friday - 6:30 - 10:00PM [9] => Jack Devine802-877-3341 [10] => <-----NEXT_CLUB -----> [13] => Green Mountain Table Tennis Club(GMTTC)(6/30/2014) [16] => Knights of Columbus … | |
so want to auto create a whole html page i was thinking like this $newhtml = '<html><head></head><body>'.$variable.'</body></html>'; file_put_contents ('file.html',$newhtml); this would be the proper thing to do? | |
Im trying to average the user input by a string of numbers, It prints out without a problem but the output is very wrong Enter some numbers: 0,4,3,5 48.0 import java.util.Scanner; public class avg { public static void main(String[] args) { System.out.println("Enter some numbers"); Scanner in=new Scanner(System.in); String nums=in.nextLine(); double … | |
Hi all , Im starting to learn visual basic and I have a question if all dont mind to answer me , I need to know and identify each individual component for this vb commands ? This = That.theOther (something) Much appreciated | |
cmd = new SqlCommand ("select beggining_school, end_school FROM Student,student_weekend,Weekend WHERE Student.ID=student_weekend.studentID AND student_weekend.WeekendID=Weekend.ID ", con); I just want to say that i don't have any problem concerning my code functionality. I would just like the design to be like the above example.That is, I dont'want my whole sql expression to … | |
I have a datagridview (bound) which works fine as long as the users "accepts" each cell they type in by pressing the tab key. However, when they click in another cell before pressing "tab", the value is visible in the cell on the screen but is not actually there. What … | |
Hey, DaniWeb! I need your opinions. I'm looking to expand my skillset, particularly in the Windows department. On a scale of "Eh, maybe later" to "Do it! Do it now!" what is your opinion on the importance of learning PowerShell as opposed to another life skill like Haskell, Mandarin Chinese, … | |
Dear Kind-Coders, I am trying to learn to use boost::shared_ptr to manage the lifetime of a DLL, but I am having a type conversion problem whilst setting it up. Please see the following code: #include <boost/make_shared.hpp> int main() { { class CMyClass { public: CMyClass() {} ~CMyClass() {} int MyInt; … | |
Well I just started C++ and I'm trying to run the basic "Hello World" program. But it didn't work i tried EVERYTHING i even clicked the delete button. But NOTHING I don't know how to run a C++ program. ;( So can you please help me? ;) | |
its maybe a really dummie question but I was wondering is there any way to create a file (like txt) that the program can use its data but the users can't access it ? sql is an option but the data aren't large enough to be used. is there any … | |
#include<iostream> using namespace std; int main() { int testcases,freq,amplituide; cin>>testcases; for(int i=1;i<=testcases;i++) { cin>>amplituide>>freq; for(int x=1;x<=freq;x++) { for(int j=1;j<=amplituide;j++) { cout<<endl; for(int jj=j;jj>=1;jj--) cout<<j; } for(int k=(amplituide-1);k>=1;k--) { cout<<endl; for(int kk=k;kk>=1;kk--) cout<<k; } if(x<freq) cout<<endl<<endl; } } return 0; } Inline Code Example Here | |
Hi, I recently developed a program which has source and header files in vc++! what I want to do is convert the same in C#. I got the idea of source files but how to import/use header files in C#(I want seperate file for class creation/ data initialization like header … | |
As some of you might know I'm working on a movie database to help track my movie collection. For a while I was having trouble getting the output I wanted for that, but I finally figured out some sql code to help with that problem. I'm going to be working … | |
In function : node* insert_in_tree(int number,node* p_tree) { if(p_tree == 0) { node* newNode = new node; newNode->num = number; newNode->p_left = 0; newNode->p_right = 0; return newNode; } if(number < p_tree->num) { p_tree->p_left = insert_in_tree(number,p_tree->p_left); } else { p_tree->p_right = insert_in_tree(number,p_tree->p_right); } return p_tree; // refering to this } … | |
Help make 2 pascal programs 1.Ar random function to get two numbers from 1-6 and 1.no 2.10-20 and to display numbers from the first to 2 and the number of squares. 2.Ar random function to get two numbers from 2-5 and 1.no 2.15-20 and to display numbers from the first … | |
hay guys iam new to c++ programming studing for c++.com iam getting to a point that i wirte a program and it doesn't run and i can't find anything realted to it , to know where is the problem so that's the program // cin with strings #include <iostream> #include … | |
I currently am moving a client site from Joomla 1.6 to Joomla 2.5 by hand due to a malware infection (I don't normally do this for clients but they specifically requested me) and while I was able to move the data, I'm not able to get their custom template to … | |
Hello, I am trying to load a background image onto my canvas without having it show up on the page itself. So I've defined a bg parameter and applied the local resource to it, and then tried to use the drawImage method to apply it to the canvas, but nothing … | |
public partial class FrmEndDateSummaryOnLoad : FrmErpSimple { List<string> mVehicleRemainderList; //SMdiForm mMdiParent; string mCurrentUserId; string mCurrentPeriodId; DataTable dataTableVehicleID = new DataTable(); DataTable dataTableVehicleNextKMS = new DataTable(); public FrmEndDateSummaryOnLoad(CErpDataConnection pErpDataConnection, CUserLoginInfo pUserLoginInfo , CRegional pRegional) : base(pErpDataConnection, pUserLoginInfo) { InitializeComponent(); } protected override void OnLoad(EventArgs e) { mCurrentPeriodId = mUserLoginInfo.GetPeriodID(); mCurrentUserId = … | |
Hi I require some one to build a project either by asp.net or vb.net, please message me for more informaiton . thanks | |
![]() | Me.ToolStripMaintenance.Font = New **System.Drawing**.Font("Bookman Old Style", 9.0!, **System.Drawing**.FontStyle.Regular, **System.Drawing**.GraphicsUnit.Point, CType(0, Byte)) Me.ToolStripMaintenance.Image = CType(resources.GetObject("ToolStripMaintenance.Image"), System.Drawing.Image) Me.ToolStripMaintenance.ImageAlign = **System.Drawing**.ContentAlignment.TopCenter Me.ToolStripMaintenance.Name = "ToolStripMaintenance" Me.ToolStripMaintenance.Size = New System.Drawing.Size(90, 70) Me.ToolStripMaintenance.Text = "&Maintenance" Me.ToolStripMaintenance.TextImageRelation = **System.Windows**.Forms.TextImageRelation.ImageAboveText heres a sample of my code with those error, can u help me identify what to do to … |
I use Microsft Vista OS on my system,so getting started with my PHP programming has been my challenge since last month that i had choose to lay hands on PHP programming,majorly because MySQL refused to run in the XAMP server i have installed on my system. i have try various … | |
As you can see my current code doesnt work and i need your help guys...i want to filter in my search(textbox) and show the data filtered in there corresponding textboxes...can anyone help make my code work?? i've been looking in google for days already for the same idea of my … | |
What must one do to increase the speed and efficiency at which one learns and develops prorams in python(or in any other language)? |
The End.