Raised This Month: $150 Target: $400
 37% 

Showing results 1 to 4 of 4
Search took 0.00 seconds.
Search: Posts Made By: Bacardi
Forum: Coding MM:S Plugins & SM Extensions 01-07-2024, 06:28
Replies: 7
Views: 4,501
Posted By Bacardi
Re: CS2 Metamod Plugin std::stringstream

If this has something to do iostream badbit...

What if you use:
ss.clear();

...after you declare stringstream variable?

But something is off, can't say what.
Also, what require...
Forum: Coding MM:S Plugins & SM Extensions 01-06-2024, 15:34
Replies: 7
Views: 4,501
Posted By Bacardi
Re: CS2 Metamod Plugin std::stringstream

What if you do:

ss << 123 << " ";
Forum: Coding MM:S Plugins & SM Extensions 01-06-2024, 10:15
Replies: 7
Views: 4,501
Posted By Bacardi
Re: CS2 Metamod Plugin std::stringstream

I would start looking <string> and format.
https://en.cppreference.com/w/cpp/utility/format/format

Forget stringstream :S


Edit
Sprintf...
Forum: Coding MM:S Plugins & SM Extensions 01-06-2024, 09:00
Replies: 7
Views: 4,501
Posted By Bacardi
Re: CS2 Metamod Plugin std::stringstream

There are many c++ examples, what use also string and stringstream.

Also, try this:
Create variable int with value.
Add that in your stringstream ss <<
Showing results 1 to 4 of 4

 
Forum Jump

All times are GMT -4. The time now is 11:20.


Powered by vBulletin®
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
Theme made by Freecode