General C++ Programming - May 2013 (Page 35)

C++ Multidimensional Array
 
Hey, found this skeleton on arrays and tried to put some use to it. I'm having an error with the val...
[6 replies] Last: Do you mean unchecked, as you could also access information that is "... (by cire)
Visual Hull
 
Hi Anyone have any experience of how to build the visual hull using opencv and c++ I have cali...
[no replies]
char and general mem allocation.
 
Hi, I was always wondering about this. As far as I understand, using char *a = new char; allocates...
[4 replies] Last: Ah, ok, that's what I thought, so, I don't need to delete every pointe... (by hansaaa)
by Zoo
Problem with dynamic memory allocation in istream &operator>>
 
Hi. I have a question. How do I allocate dynamic memory in istream &operator>>() (operator overload...
[2 replies] Last: Thanks Fransje. I will read through it! (by Zoo)
Need your help to explain this OOP
 
_v3signal *_v3main :: find_v3_signal_bylhs ( char *s ) { printf("chunhaun:lhs1,%s,%d\n",s,_num_v3...
[2 replies] Last: Furthermore, the _V3Signals must have been declared somewhere. Perha... (by keskiverto)
3D label plot
 
hello to everyone, I would like a to plot a 3d graph that connects with lines some points in 3d s...
[3 replies] Last: Well, I have limited experience in 3d plotting using c++, but, if yoz ... (by hansaaa)
psuedo code for behaviour tree functions
 
Just wondering how i could improve these bool checks for my Behaviour tree class, what checks or oth...
[no replies]
code concept
 
Need help pointing out where/if these are applied: The heap Constructor overloading Private/prote...
[4 replies] Last: @cire Ok edited that Aceix. (by Aceix)
Generating compile time endianness
 
I've been looking around and am just shocked that there doesn't seem to be any way of using the opti...
[2 replies] Last: Yes. Though for the most part, the compiler should be able to pad as ... (by AdrianH)
functions undeclared
 
I keep getting errors stating my variables are not declared, although i seemed to have declared them...
[1 reply] : I think you're using the wrong tags for code. The reason why it says ... (by Bourgond Aries)
[C++] Open / Create a file without deleting the previous
 
Hi, as specified in the title, I want to open a file if it already exists and create it if it does n...
[no replies]
replace char in string
 
Is there a way to replace 3 char's in a string. For example i have a string containing s = "The ...
[6 replies] Last: Store all locations of "7x8" in the string, the copy LSU to each of th... (by Bourgond Aries)
c++ to c# ?
 
Let me start off by saying I know this is a c++ site, but I was wondering if anyone had experience g...
[no replies]
File IO
 
I can extract the data and print it out but i want to get a copy of the data and run the Replace Alg...
[no replies]
Cin (input) is being ignored in do while loop.
 
Hello. The cin (input) is being ignored after the post-test. Any solution? Thank you. ...
[no replies]
Best method for text trees in games? (XML vs etc.)
 
I guess that this will all boil down to a matter of opinion, but I'm all ears for assistance. I'm...
[no replies]
Polymorphism C++
 
CPolygon * ppoly1 = new CRectangle; DOes it mean poly1 can either point to type of Cpolygon o...
[1 reply] : Yes (Assuming CRectangle is derived from CPolygon), this is because CR... (by Lachlan Easton)
C Help - Reading from file.
 
Hi guys, So I have this text file that I am trying to read from and store the values of each line...
[2 replies] Last: Thanks Cubbi, appreciate it :) (by computerkazi)
tea algorithm
 
hi guys, i`m trying to figure out how to use these two methods of tea algorithm that i have gotten f...
[2 replies] Last: thanks man! so i will do the same for string? correct me if i`m wrong... (by CLearner88)
C string manipulation (C not CPP)
 
Hello, I'm usually a c++ programmer but my teacher is forcing me to use regular old c. I've been s...
[2 replies] Last: Beautiful. So glad I asked! =D (by ssteuteville)
May 2013 Pages: 1... 3334353637... 47
  Archived months: [apr2013] [jun2013]

This is an archived page. To post a new message, go to the current page.