The Community Forum on Daniweb has been hijacked by code posters. There appear to be loads of these people posting their junk all over the place. WTF? If you can't find a (sub)forum that fits your niche, the next best thing is the community forum! So next time you can't find an obviously suitable place in your wardrobe to hang your waistcoat, do the next best thing and hang it in the kitchen. Oh wait up, you then realise that you DO have a place to hang your waistcoat in the wardrobe after all. Ah sod it, you buy more …

Member Avatar
Member Avatar
+5 forum 13

Hi fellow coders, I'm Martin, and i need a good PHP/HTML coder to my Website. I have a Danish hosting provider company, and i could seriously need some nice stuff to it, to make it more atractive. - If you would like to help, you are not getting paid each hour, you are getting paid when the money haves. So the job is going to be done, for free, and to help and be nice. And then i am going to paid you when i the money enough for it. - Please PM me... - Martin

Member Avatar
Member Avatar
+0 forum 6

I have a dedicated server and i need a short php script, that says if my dedicated server is "ONLINE" or "OFFLINE", and how many ram left, that will show it on a bar... =) Thanks

Member Avatar
Member Avatar
+0 forum 2

So I have made a menu and a guy helped me, We have used enum in the menu is there anyother way i can do it, cause my teacher is not allowing me to use classes, files and arrays, please help, if u guys have anything simple and better i need it urgently.. here is the code:- enum MenuState{MenuPlay,MenuHelp,MenuExit}; // the idea of using enum is that instead of using an int to represent a set of values, a type with a restricted set of values in used instead. MenuState ms=MenuPlay;cout<<" *-=MOD=-* v1.0\n\n\n\n\n"; char ch=0;//or anything other than '\r' while …

Member Avatar
Member Avatar
-1 forum 1

hello again, so i want to make a programme where the file saved is saved with different names at every loop.. like at first loop it will save as file1.txt, 2nd loop file2.txt, so on... so this is my code... #include <iostream> #include <fstream> using namespace std; int main() { int x = 0; cout << "Hi" << endl; for (x == 0; x<10; x++){ fstream file; file.open("trial", ios::out); file<<"save it"; file.close(); } cin.ignore(); cout<<" DONE"; return 0; } so this is what the code is, it will loop 10 times and it will save it as file1.txt, file2.txt, file3.txt......... …

Member Avatar
Member Avatar
+0 forum 1

I am new to web development, now i want to learn javascript for web development and plugins development, please tell me good sites for learn javascript, "GOOD SITE MEANS REAL TIME EXAMPLES FOR EVERY LESSONS AND TUTORIALS"

Member Avatar
Member Avatar
+0 forum 1

hi everybody this is my code below that i did so far for my assignment i made a smiley but ,it s everywhere in my code ,and it s not so perfect i think i need only 1 and big smiley in my pattern i think i am missing something in my for loop Anybody help, i will preciate Thank you .. #include "graphics.h" #include <math.h> int main() { int pattern[16][16] = { { 15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,}, { 15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,}, { 15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,}, { 15,15,15,0,0,0,15,15,15,15,0,0,0,15,15,15,}, { 15,15,15,0,0,0,15,15,15,15,0,0,0,15,15,15,}, { 15,15,15,0,0,0,15,15,15,15,0,0,0,15,15,15,}, { 15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,}, { 15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,}, { 15,15,15,15,0,15,15,15, 0,15,15,15,15,15,15,15,}, { 15,15,15,15,0,0,15,15,0,0,15,15,15,15,15,15,}, { 15,15,15,15,0,0,0,0,0,0,0,15,15,15,15,15,}, { 15,15,15,15,0,0,0,0,0,0,0,15,15,15,15,15,}, { 15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,}, …

Member Avatar
Member Avatar
+0 forum 4

Hello there i was typing a python code and got this error saying: 26 27 for eil in open("msgs.txt"): # nuskaito ir parodo visas zinutes => 28 date, person , msg = eil.split("#") 29 print(date+person+"<b>"+msg+"</b><br> <hr>") 30 date = '', person = '', msg = ' ', eil = '----\n', eil.split = <built-in method split of str object> ValueError: need more than 1 value to unpack args = ('need more than 1 value to unpack',) with_traceback = <built-in method with_traceback of ValueError object> I get the error in this part of code - 2nd line. My teacher posted this code …

Member Avatar
Member Avatar
+0 forum 2

Code the click event of the Play Game button to do the following i. Generate a random integer between 1 and 100 ii. Code a loop that will end when the user guesses the number or 10 guesses have failed to find the number. iii. Use an inputbox function so that the user can enter each guess. iv. If the user does not enter an integer number display an error messagebox, show the answer, and exit the loop. If the user enters a number outside the range of 0 – 100 display an error messagebox, show the answer, and exit …

Member Avatar
Member Avatar
+0 forum 3

**** Hey guys, I really need help on this. I just submitted my exam but I won't get feedback till next week. I'm hoping that you guys can help me review. Thanks! Question 1 For each non-static data member of a class, C++ allocates only one memory space. Question 1 options: True False Question 2 C++ classes were specifically designed to handle ADTs. Question 2 options: True False Question 3 Data abstraction is defined as a process of separating the logical properties of the data from its implementation. Question 3 options: True False Question 4 Class objects can be passed …

Member Avatar
Member Avatar
+0 forum 4

hi guys i need help, i need php code about how to put a sound in website... thanks!!!

Member Avatar
Member Avatar
+0 forum 6

Im making a 2D platformer-ish shooter its really simple and not much effort put in it, it is my first game Im making in python and its for a school project and needs to be finnised really soon. Everything is working just fine but Im having problem with some collision detection with my shoots, I don't know how to make it. So would really appreciate any help I could get. Feel free to tell me if anything is wrong or could be better and use this code for your own learnings. And I know its a bit messy but I …

Member Avatar
Member Avatar
+0 forum 11

IM BEGGING YOU TO PLEASE HELP ME,IM NOT REALLY FAMILIAR IN PROGRAMMING BUT I NEED TO DO THIS BECAUSE IT'S OUR DEFENSE NEXT WEEK AND I NEED TO CREATE A PROGRAM IN DEVC++ THAT WILL GET THE EMPLOYEE SALARY AND DATA,I KNOW SOME OFYOU GUYS CAN HELP ME CREATE A WONDERFUL PROGRAM, SOMELIKE WITH THE LOG IN DATA AND SOME GOTO,I REALLY DONT KNOW WHAT TO DO SO IM BEGGING YOU TO HELP ME,PLEASE T_T SORRY FOR BAD ENGLISH,.

Member Avatar
Member Avatar
-3 forum 10

Hi everybody How are you? well, i need usb dirver of qmobile model Q9 [Click Here](http://qmobile.com.pk/75/Q9.html) for windows7, few drivers are given on offical website but windows7 is not recongnizing them. so please help me in this regards. thanks ![q9](/attachments/large/3/q9.jpg "q9")

Member Avatar
Member Avatar
+0 forum 2

Private Sub Product_Details1(ByVal pid1 As String) Dim n As Integer n = 0 DataGridView1.Rows.Clear() myConnection = New SqlConnection(connectionstring) myConnection.Open() Try sqlcmd = New SqlCommand("SELECT P_Id,P_Selling_Price FROM Product_Details WHERE P_Id='" & ComboBox1.SelectedText & "' ", myConnection) Dim dr As SqlDataReader = sqlcmd.ExecuteReader If dr.HasRows Then While dr.Read() DataGridView1.Rows.Add() DataGridView1.Rows(n).Cells(0).Value = dr("P_Id").ToString DataGridView1.Rows(n).Cells(1).Value = dr("P_Selling_Price").ToString DataGridView1.Rows(n).Cells(2).Value = TextBox1.Text DataGridView1.Rows(n).Cells(3).Value = Val(DataGridView1.Rows(n).Cells(2).Value) * Val(DataGridView1.Rows(n).Cells(1).Value) n += 1 End While Else MessageBox.Show("Data doesn't exits !!", "", MessageBoxButtons.OK, MessageBoxIcon.Information, MessageBoxDefaultButton.Button1) End If sqlcmd.Cancel() dr.Close() myConnection.Close() Catch ex As Exception End Try End Sub the data is not takin from either from tables or textbox the …

Member Avatar
Member Avatar
+0 forum 4

Hello, I am new to java, and I need help with images. I am trying to move an image up the screen while still allowing another image to move using the arrow keys. If I use `thread.sleep` to move the image, I cant move my other image at the same time. Does anybody have a solution? I am on Mac OSX Lion, if that helps. My code is attached.

Member Avatar
Member Avatar
+0 forum 5

Hello, I have this code which grabs url from a webpage, when i add multiple urls, sometimes some of the webpages does not have images in the div that i mentioned in this php code so it returns with this error : Fatal error: Call to a member function find() on a non-object in /home/liferock/public_html/testbox.co.cc/9gag/index.php on line 14 Live URL of the Code http://testbox.co.cc/9gag/ The Code http://snippi.com/s/cpsjxn6 Sample URLs, To Test the Script http://9gag.com/gag/0000001 http://9gag.com/gag/0000002 http://9gag.com/gag/0000003 http://9gag.com/gag/0000004 http://9gag.com/gag/0000005 http://9gag.com/gag/0000006 http://9gag.com/gag/0000007 http://9gag.com/gag/0000008 http://9gag.com/gag/0000009 http://9gag.com/gag/0000010 http://9gag.com/gag/0000011 http://9gag.com/gag/0000012 http://9gag.com/gag/0000013 http://9gag.com/gag/0000014 http://9gag.com/gag/0000015 http://9gag.com/gag/0000016 http://9gag.com/gag/0000017 http://9gag.com/gag/0000018 http://9gag.com/gag/0000019 http://9gag.com/gag/0000020 http://9gag.com/gag/0000021 http://9gag.com/gag/0000022 http://9gag.com/gag/0000023 http://9gag.com/gag/0000024 http://9gag.com/gag/0000025 http://9gag.com/gag/0000026 http://9gag.com/gag/0000027 …

Member Avatar
Member Avatar
+0 forum 5

I need code for iframe for the replacement of frameset. My frameset code is <frameset rows="14%,*"> <frame src="logout.html" scrolling=no> <frameset cols="25%,75%"> <frame src="Players Name.html"> <frame src="Dhoni.html" name="secondframe"> </frameset> </frameset> I need it in iframe. I cant able to nest iframe which i did in frameset. Is it possible to write code on iframe. As I have heard that iframe is advanced one for frameset. Please tell me what I need to do for this.

Member Avatar
Member Avatar
+0 forum 2

Hi, working on a piece of code which loads in two images, one is a scrambled version of the other, compares them and then attempts to make a new image from the scrambled version. So far I've got it making a new image, comparing and unscrambling most of it, just missing a few squares and I can't figure out why. I've included the main code that's doing all the working out below and help would be greatly appreciated! int main() { int M=512; int N=512; string userinput = ""; binary_matrix original_logo(M, N, readTXT("..\\..\\DataFile\\logo_bi.txt", M, N)); binary_matrix shuffled_logo(M, N, readTXT("..\\..\\DataFile\\logo_shuf.txt", M, …

Member Avatar
+0 forum 0

hi, I am trying to add autoplay in my playlist.When player loads it automatically plays all videos inksn loop. Thanks Need Suggestions. link: http://flowplayer.org/demos/plugins/javascript/playlist/youtube.html Code blocks are created by indenting at least 4 spaces ... and can span multiple lines <script> $(function() { $f("player", "http://releases.flowplayer.org/swf/flowplayer-3.2.9.swf", { clip: {baseUrl: 'http://happylandings.in/demo'}, autoPlay: true, // playlist plugin }).playlist("#playlist"); }); </script>

Member Avatar
+0 forum 0

#I need a php script that fetches a registered users info from the Mysql database and prints them on the page when a user visits his/hers profile page via a link showing his name, like facebook # * Heres the code that id like to show as the profile pag when someone visits it... * > <?php > require_once('auth.php'); // only for registered users > ?> > <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> > <html xmlns="http://www.w3.org/1999/xhtml"> > <head> > <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> > <title>TCK Portal | Profile</title> > <style type="text/css"> > <!-- > body { > …

Member Avatar
Member Avatar
+0 forum 1

The End.