Anonymous
If you use C++: What classes do you create, how are the relations between the classes and so on
Anonymous
#cppbook
MᏫᎻᎯᎷᎷᎬᎠ
Damn shelly you are great
Anonymous
#freeprogrammingbooks
MᏫᎻᎯᎷᎷᎬᎠ
For my experience it's 5 months now
It's poor if you are not very smart
Jackson
MᏫᎻᎯᎷᎷᎬᎠ
But I'm doing my best
Then you are doing great
Anonymous
But I'm doing my best
It's okay, everyone has to start somewhere. It was just a suggestion, cause I can imagine on the long run you could get much happier with C++ on that project.
Nana
Thanks Rose
BinaryByter
I agree @BOND_0O7, it is bad practice in header files but no issue in implementation files
it might lead to future problems that might tend to be hard to debug, even in impl files. Additionally, it obscures abstraction which is what namespaces are for.
klimi
Problems
Babarinde
I am newbie in c language I want to make a program Which will ask for user phone number And I want to state network for each network which will be detect from first four numbers or number 3 which is 6 Eg Number = 08061563955 If ( Number = 0806){ Printf("the number you entered is MTN number "); } If (Number = 0805){ Printf("the number you entered is Glo number"); How will I go about it the I will only test for the first 4 input Thanks
klimi
You can test like
klimi
If you saved it as string you can use array to access it
Claude
Evening guys
Claude
Pls need help
klimi
Yo
Claude
Pls .it does not concerne C/ C++ directly. For a projet I am block .there are some Web site ( site where we can afford goods. ) You choose the one you one there is the price .and when you chose the product you you can see that there is a place on the site with shows add to basket .now when you finish to choose what you want .it's shows you the product you choose. It's price and the total sum of the product you added in your basket .now I wanted to apply that to my website but umm I don't know how to start
klimi
What?
Claude
Engah Pamela: Pls .it does not concerne C/ C++ directly. For a projet I am block .there are some Web site ( site where we can afford goods. ) You choose the one you one there is the price .and when you chose the product you you can see that there is a place on the site with shows add to basket .now when you finish to choose what you want .it's shows you the product you choose. It's price and the total sum of the product you added in your basket .now I wanted to apply that to my website but umm I don't know how to start
Claude
I thought of adding an html calculator but is not what I want on website
Claude
Pls help
klimi
I think it can be done @linuxer4fun
BinaryByter
this isnt even a question
BinaryByter
+ we have no idea of the stack
klimi
He just want to hear about your frameworm
BinaryByter
webcpp?
Shivang
Is anyone reading k&r
Shivang
Chapter 5.6
Shivang
Does c have alloc function
klimi
klimi
GN max
Shivang
Gn??
Shivang
Shivang
Its alloc
BinaryByter
read the entire code
Shivang
Got it it defined up in second line but still not clear what is the use of it
Shivang
Can you tell what will return
BinaryByter
memory
Shivang
memory
You mean memory of character array
Shivang
Or say string
Shivang
Or say string
Non technical
Claude
Shivang
Kk
Claude
this isnt even a question
My question is.pls do some what knows what I am talking about .if yes can I have help
Claude
Pls I am asking to have help in order to do this because I don't know to start
Claude
As you can see they show the basket
Claude
Claude
BinaryByter
cookies
Claude
Claude
Here you can see that there are the objet .the number. The amount. The total sum
Claude
cookies
Pardon ?
BinaryByter
cookies
BinaryByter
prends des cookies
Claude
Ce a dire
Claude
Meaning ?
BinaryByter
Google it
BinaryByter
btw: you should look into github.com/wittmaxi/webcpp
BinaryByter
since yoz seem to know C++ well, it might be easier for you to use that
BinaryByter
edited
Anonymous
😔
Ludovic 'Archivist'
Thats true, but I'm not a big fan of learning bad habbits and try to break them later again
Tbh I personally never use using for namespaces, but if the big boi Bjarne do, I guess it may be an okayish practice, it is even less armful when used inside of a block tho
Prince
Lenovo which laptop series is best under 25000 to 27000 ????
S.
lenovo has US$25000 laptop?
Prince
No inr 25k
Babarinde
I am newbie in c language I want to make a program Which will ask for user phone number And I want to state network for each network which will be detect from first four numbers or number 3 which is 6 Eg Number = 08061563955 If ( Number = 0806){ Printf("the number you entered is MTN number "); } If (Number = 0805){ Printf("the number you entered is Glo number"); How will I go about it the I will only test for the first 4 input Thanks
Shreyash
👍👍