41 Discussion / Question Topics

Remove Filter
Member Avatar for
Member Avatar for Kristian_2

Hi guys, I have small problem with my example code. Any hint? #include <iostream> using namespace std; class A{ public: int a; A(int i){a = i;} A(const A& rhs) // copy constructor { a = 2; } A(const A&& rhs) // move constructor { a = 3; } }; void …

Member Avatar for mike_2000_17
0
410
Member Avatar for jjorgensen626

Hi Everyone, Wanted to share a bit on this subject as I've had to recently make some of these changes. Along my way I found a few sites that basically suggested moving all mailboxes off the database, dismount, delete and create a new database. Simple enough, however I didn't want …

0
253
Member Avatar for CJMW

So i'm making an rpg game with c# and xna. How can I create a simple camera that follows the player as they move? I only wish for the camera to move as the player reaches the middle of the screen. I dont require it to rotate, zoom in/out like …

Member Avatar for KushMishra
1
331
Member Avatar for Dearden

I completely understand the government getting rid of food stamps & WIC for the adults but there is no reason the government should shut down WIC for the newborn babies that need formula Formula comes in at $15 per can and only lasts every 2-3 days thats not cheap at …

Member Avatar for Ancient Dragon
0
840
Member Avatar for DM Galaxy

I am in wonder. I just make a slideshow form and add the context menu strip as when the user click on download image then current image get copy and paste on the desktop. I use path and destination method in this but they say bitmap cannot be converted into …

Member Avatar for DM Galaxy
0
443
Member Avatar for Start4me

Hello everybody! I’m trying to create a program in which the user has the ability to move the image with mouse click and ability to zoom in and out by scrolling the mouse wheel. If the user wants to return to the original image size and position, it will be …

Member Avatar for Start4me
0
1K
Member Avatar for kanoy83

Hi guys, I have a simple php script to upload file. I'm having some problem in creating confirmation before overwriting the file from new file upload. Situation: 1. confirm() works if using file_exists BUT not overwrite the file or process the move_uploaded_file assuming some tags are correct uploadfile.php <form enctype="multipart/form-data" …

Member Avatar for kanoy83
0
997
Member Avatar for Yorkiebar14

Hello, I have recently started to develop my own game in Java and am just starting to get the hang of it. I've watched various tutorials on making an engine etc and have picked up quite a lot. I am struggling with one problem though, I have a world and …

Member Avatar for Yorkiebar14
0
328
Member Avatar for sujan.dasmahapa

I am writing a pure C based win32 applications. I have drawn line. Now i want to translate that line, move the line whereved user wants to move on screen. Then again I drawn another line, I am drawing multiple lines. I have created rectangle region for each line and …

Member Avatar for Ancient Dragon
0
348
Member Avatar for thearts.beach

Hi, I am trying to learn how to use a data base to store photos and such, I can now get info into the base and can get all the records to display , this is not what I had planed, So that lead me on a surch for answers …

Member Avatar for thearts.beach
0
374
Member Avatar for Start4me

Hello. I'm quite new to Java, but I've worked on Graphics before. I have a couple of questions which are: I want to make a night sky in Java with stars which randomly switch to big stars from small and back, repeating for a set time. I also want the …

Member Avatar for JamesCherrill
0
365
Member Avatar for johnp9523

Hi, A problem Ihave not been able to solve: P.C. is off. move or knock the keyboard and the P.C. boots. now even though the P.C. is off the keyboard light is on. (wife noticed this morning)so I pressed a few keys. P.C. did not start. It's temperatemental, if one …

Member Avatar for johnp9523
0
253
Member Avatar for LocalGoogleGuru

When moving a wordpress site from one host to another is it necessary to download the old wp-config.php (the correct the path to find the new db user/ url etc) in otherwords, my question is this: is there stuff on the old wp-config.php (other than define db, define db user, …

Member Avatar for tomparker
0
163
Member Avatar for boiishuvo

I have one problem at the line 20-23. What I need is when the blue box touches the red rectangle, the blue box gets resetted (it goes back to where it starts). However, the problem is, it doesn't touch the red rectangle area properly. Any suggestions? Thanks in advance. float …

Member Avatar for margaret224
0
317
Member Avatar for daniel.moore.5099940

I need some serious assistence with finding the solution to this problem, it has plagued me for some time now and im just not getting the big picture. I need to move the elements in a 2d array according to the user input, but the way i have figured out …

Member Avatar for Labdabeta
0
389
Member Avatar for timon.bijl

Hello , I was wondering if I could move my form or any other object with my arrowkeys in vb.2010? I found out how to do this in vb6 but this function can't be used in vb.2010 and can't find the replaced function anywhere. If anyone can help me , …

Member Avatar for Reverend Jim
0
321
Member Avatar for agwx2

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 …

Member Avatar for agwx2
0
289
Member Avatar for blackarchan

I have a problem i wrote a code and copyed some code but now my sprite dosent move anymore....and i dont know why # Import a library functions called 'pygame' import pygame from pygame.locals import * # Initialize the game engine pygame.init() # Define some colors black = (0, 0, …

0
143
Member Avatar for LastMitch

Hi, I'm trying to learn how to create an upload file form. I'm stuck on a couple of things. This is something I learn in the past but I forgot how to create one, so it's new to me now. I got the script from http://www.w3schools.com/php/php_file_upload.asp 1) I want to …

Member Avatar for LastMitch
0
436
Member Avatar for rae08
0
172
Member Avatar for iFrolox

Well i'll try to be clear as possible, i'm making like an account organizer (helper/tool) w.e you wanna call it, and for example i have 10 accounts. I want to delete account #5 (They are array), what i need it to do is move account #6, 7, 8, 9 & …

Member Avatar for iFrolox
0
2K
Member Avatar for Octet

I am looking to create a PBBG game using HTML and CSS for the display and then PHP and MySQL to handle the game itself. It shall only be simple, click on this item and upgrade it if you have enough resources e.t.c. I am hoping to make it a …

Member Avatar for dany12
0
231
Member Avatar for jonny93

Hello, I'm new to this site, and i really need help with something. I have been working on a checkerboard project for my second programming class, and now I'm stuck. I now how to set the icons, but now I am absolutely confounded as to how I move the icon …

Member Avatar for NormR1
0
2K
Member Avatar for sathish1990

**Please help me friends** **I have a doubt in using array in JAVA** **if my input is AB1CD** They are stored in array as a[0]=A a[1]=B a[2]=1 a[3]=C a[4]=D I developed a coding to insert the number that appearing after a alphabet in the same array element like a[0]=A a[1]=B1 …

Member Avatar for JamesCherrill
0
165
Member Avatar for diamondfist

I was trying to move my camera along the red cube .. so i came across the gluLookAt function, but i am not able to get through this function as to what all it requires ... the content on the Documentation didn't quite help. it will be very helpful if …

Member Avatar for Chris911
0
3K
Member Avatar for thes0mething

Hello everyone on daniweb!:) I'm trying to make a programme which will move a picture to the sides when pressing the right or left arrowkeys. I did successfully put a picture in and I was able to change the side coordinates(called "side" in the programme) to make the picture move. …

Member Avatar for Ezzaral
0
1K
Member Avatar for m1234ike

Hello DaniWeb, I have a new idea for an app: I have an external harddrive and I usually backup my desktop with a cleanup folder which I usually move to the external harddrive. The problem is: when I search for a file (i.e. example.mp3) I will find multiple copies which …

Member Avatar for codeorder
0
273
Member Avatar for compulove

I am trying to copy the contents of a folder into another folder in another drive using XCOPY. Here is code I have now but it isn't working and I figure xcopy would be the easier way to go because MOVETO and CopyDirectory haven't been working because its copying files …

Member Avatar for bluehangook629
0
3K
Member Avatar for AdampskiB

Hello again! I'm having trouble trying to double the value of my coordinates in my point. The object is to create a pair of eyes and their position is identified by clicking a point in the graphic window which would allocated the centre of the left eye, and the second …

Member Avatar for AdampskiB
0
232
Member Avatar for chrisvj11

I am using Python and wxPython to attempt to make a 2d game. When w is pressed, the tiles (except the character) should move so it looks like you are moving. The problem is, when the key is pressed, nothing moves. I added a line of code(no longer there) to …

Member Avatar for chrisvj11
0
778

The End.