
please wait
by bibi
C++ mkdir with date+time name
|
I need code in C++ for create directory ( folder) with momently date+time name , something like 28122014205825 ( ddmmyyyHHMMSS format ) it will be part of some... |
Dec 29, 2014 at 2:08pm
[3 replies] Last: Creating the directory is straightforward, it's setting the timestamp ... (by kbw)
|
by KingRaider
C++ Pointer changed address, now it won't delete it (Fails)
|
(I tested the address because I was getting errors and I found out the address changed before it was deleted, by the time the delete is called the titlePTR has ... |
Dec 29, 2014 at 1:15pm
[6 replies] Last: Changing the char type isn't going to change anything. (by kbw)
|
New to C++ Help with virtual pet project? |
Hi guys. I'm just playing around with C++ and I'm trying to make a sort of virtual pet game. I know its not the best looking code but I'm trying. But as of righ... |
Dec 29, 2014 at 11:10am
[5 replies] Last: Kindly take note of post formatting features before posting thanks. (by Code Apperentice)
|
by glockner
Error Message?
|
Why do I get an error message for an expected "}" at the end of my source when there is one there? // Star Signs - What's your telling? #include <cs... |
Dec 29, 2014 at 2:13am
[3 replies] Last: Hi, Just a small tip to help you avoid this problem: Either configur... (by TheIdeasMan)
|
by Bingocat4
Problem with homing missiles
|
I'm trying to make homing missiles for my game but there is a little problem. I don't want them to instantly turn towards their target by just getting the angle... |
Dec 28, 2014 at 11:41pm
[9 replies] Last: Ok! I got it working after a little while. Thanks for the help. (by Bingocat4)
|
by ac800car
Urgent! Please help...strcpy gives seg fault
|
I am trying to practice different concepts in C++ programming. Following is the program which compile successfully but gives seg fault at runtime. #include <... |
Dec 28, 2014 at 9:45pm
[5 replies] Last: In your second comment did you mean to null terminate string after us... (by MiiNiPaa)
|
by adina0822
Dynamic Programming
|
Could you show me how could I obtain all the longest common subsequences (lcm-s) of two strings? Ex: a=578459 b=18754229 lcm: 549 859 I alre... |
Dec 28, 2014 at 6:15pm
[no replies]
|
by Xhobi
File Handling
|
I am working on an assignment. Not too hard to make a text file and add some data in it, but when i re-enter my program and add some extra data on that text fil... |
Dec 28, 2014 at 4:12pm
[2 replies] Last: Thanks (by Xhobi)
|
by mrniceguy420
sieve analysis
|
Hey Guys, i have written a program to find prime numbers by sieve process. My problem is that for example prime number 73 is 65537, which is a prime number, b... |
Dec 28, 2014 at 3:31pm
[2 replies] Last: Oh well ok that explains much :)) thank you. (by mrniceguy420)
|
by superfury
C: Divide by 9 optimizing?
|
Divide by 8 is easy: just shift right 3 bits. How can I do this with divide by 9? I'm using some calculations for converting horizontal pixels to columns in my ... |
Dec 28, 2014 at 2:22pm
[1 reply] : Consider leaving low level optimisations to the compiler. int divide... (by JLBorges)
|
by Musmula
How to read a sentence from a file?
|
So I'm working on that program that uses .txt files to store data, and I have one problem: I can't recover one full name from the .txt file It's a school libra... |
Dec 28, 2014 at 12:38pm
[2 replies] Last: Thanks, it works (would be sad if it wouldn't (http://www.cplusplus.co... (by Musmula)
|
by TheHardew
Header file automatically linking cpp file?
|
I made my header file. If cpp file with definitions is in project compiler knows it has to be linked, but if it's not compiler doesn't know. If I include standa... |
Dec 28, 2014 at 12:33pm
[4 replies] Last: But that works only for VS. Anyway thanks, it's good for now. (by TheHardew)
|
by rutski
Objective-C Style Reference Counting
|
I'm putting together a codebase at the moment in which every (major) object inherits from a grand "Object" class. That base class keeps an internal reference co... |
Dec 28, 2014 at 11:59am
[3 replies] Last: This is essentially the memory management architecture in Objective-C... (by closed account z05DSL3A)
|
by cmajor28
Template class casting
|
I have this code here and I keep getting errors. I understand them but I don't know how to fix it. NOTE: matrix is a pointer to the matrix elements, m = the n... |
Dec 28, 2014 at 2:56am
[2 replies] Last: They weren't const. That was a major error. And now the only thing is ... (by cmajor28)
|
by superfury
CRTC vs VGA attribute controller 8/4 bit depth with 256 color shift mode?
|
What effect does the CRTC controller display resolution have when 256/16 color is used with(out) 8-bit set in the attribute mode control register the way it's n... |
Dec 28, 2014 at 12:39am
[no replies]
|
by Cambalinho
how config the Code Blocks?
|
(i formated the pc, but i forget these :( ) i have the Code Blocks IDE with GNU compiler(download individualy. how can i config the IDE for detect the include... |
Dec 27, 2014 at 10:23pm
[4 replies] Last: giblit: i know that. 1st i put it on text box, then i click on button ... (by Cambalinho)
|
by superfury
Effect of VGA's attribute controller 'Color Plane Enable' register during text mode?
|
What does the Attribute Controller's Color Plane Enable register (index 0x12) do during text modes? What effect does it have to switch plane 0/1/2 off (set bit ... |
Dec 27, 2014 at 8:48pm
[no replies]
|
by adina0822
Permutations
|
Please help me to solve this. John has n songs that he wants to listen to, but he can't do that anyway, because some songs can't be played one after another.... |
Dec 27, 2014 at 8:24pm
[10 replies] Last: Well I could, but they are in Romanian language. But I think it is th... (by adina0822)
|
by adina0822
Fibonacci
|
We consider two words A1 and A2 which contain only lowercase. The An (n>=3) word is formed like this An=An-1 + An-2, where (+) means concatenation. All thes... |
Dec 27, 2014 at 7:55pm
[2 replies] Last: Thank you. I'll try to apply that. (by adina0822)
|
by cmajor28
Memory allocation recursive algorithm
|
I've been working on a matrix class and I ran into a problem in writing my matrix class. I keep getting 0 as a determinant and with some debugging, I found that... |
Dec 27, 2014 at 6:55pm
[2 replies] Last: Thank You! That was it. (by cmajor28)
|