<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Struktur bekommt nicht Werte zugewiesen]]></title><description><![CDATA[<p>Tach auch.<br />
Habe gerade eine Strukutr angelegt. Diese wollte ich werte zuweisen.<br />
Leider funktionieret das so nicht. Wo liegt mein Fehler. Im Debug-Modus konnte ich mitverfolgen dass die einzellnen Elemente nur mit eine 0 bestzt werden.</p>
<pre><code class="language-cpp">typedef struct
{
    	double 			DefaultValue;		// Werkseinstellung
		double 			MinValue;           // Minimal einstellbarer Wert
		double 			MaxValue;			// Maximal einstellbarer Wert
        unsigned int 	UnitIndex;			// Index für die anzuzeigende Einheit;
        int 			sign;				// false: unsigned ; true: signed Konvertierung
        int 			Precision;			// Anzahl der Nachkommastellen
} DEFINITION_1000;

DEFINITION_1000 BoolParaDef[512] =
{(0,0,1,0,0,0), // 1000
(0,0,1,0,0,0), // 1001
(1,0,1,0,0,0), // 1002
(1,0,1,0,0,0), // 1003
(0,0,1,0,0,0), // 1004
(0,0,1,0,0,0), // 1005
(0,0,1,0,0,0), // 1006
(0,0,1,0,0,0), // 1007
( 1,0,1,0,0,0 ), // 1008
( 1,0,1,0,0,0 ), // 1009
( 0,0,1,0,0,0 ), // 1010
( 0,0,1,0,0,0 ), // 1011
( 1,0,1,0,0,0 ), // 1012
( 0,0,1,0,0,0 ), // 1013
( 0,0,1,0,0,0 ), // 1014
( 0,0,1,0,0,0 ), // 1015
( 0,0,1,0,0,0 ), // 1016
( 1,0,1,0,0,0 ), // 1017
( 0,0,1,0,0,0 ), // 1018
( 0,0,1,0,0,0 ), // 1019
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/topic/164849/struktur-bekommt-nicht-werte-zugewiesen</link><generator>RSS for Node</generator><lastBuildDate>Wed, 12 Aug 2026 12:18:06 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/164849.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 13 Nov 2006 10:41:44 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Struktur bekommt nicht Werte zugewiesen on Mon, 13 Nov 2006 10:41:44 GMT]]></title><description><![CDATA[<p>Tach auch.<br />
Habe gerade eine Strukutr angelegt. Diese wollte ich werte zuweisen.<br />
Leider funktionieret das so nicht. Wo liegt mein Fehler. Im Debug-Modus konnte ich mitverfolgen dass die einzellnen Elemente nur mit eine 0 bestzt werden.</p>
<pre><code class="language-cpp">typedef struct
{
    	double 			DefaultValue;		// Werkseinstellung
		double 			MinValue;           // Minimal einstellbarer Wert
		double 			MaxValue;			// Maximal einstellbarer Wert
        unsigned int 	UnitIndex;			// Index für die anzuzeigende Einheit;
        int 			sign;				// false: unsigned ; true: signed Konvertierung
        int 			Precision;			// Anzahl der Nachkommastellen
} DEFINITION_1000;

DEFINITION_1000 BoolParaDef[512] =
{(0,0,1,0,0,0), // 1000
(0,0,1,0,0,0), // 1001
(1,0,1,0,0,0), // 1002
(1,0,1,0,0,0), // 1003
(0,0,1,0,0,0), // 1004
(0,0,1,0,0,0), // 1005
(0,0,1,0,0,0), // 1006
(0,0,1,0,0,0), // 1007
( 1,0,1,0,0,0 ), // 1008
( 1,0,1,0,0,0 ), // 1009
( 0,0,1,0,0,0 ), // 1010
( 0,0,1,0,0,0 ), // 1011
( 1,0,1,0,0,0 ), // 1012
( 0,0,1,0,0,0 ), // 1013
( 0,0,1,0,0,0 ), // 1014
( 0,0,1,0,0,0 ), // 1015
( 0,0,1,0,0,0 ), // 1016
( 1,0,1,0,0,0 ), // 1017
( 0,0,1,0,0,0 ), // 1018
( 0,0,1,0,0,0 ), // 1019
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/1173489</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1173489</guid><dc:creator><![CDATA[Justus und die ???]]></dc:creator><pubDate>Mon, 13 Nov 2006 10:41:44 GMT</pubDate></item><item><title><![CDATA[Reply to Struktur bekommt nicht Werte zugewiesen on Mon, 13 Nov 2006 10:42:50 GMT]]></title><description><![CDATA[<p>Habe vergessen zu schreiben dass ich die Wertezuweisung mit</p>
<pre><code class="language-cpp">... };
</code></pre>
<p>abgeschlossen habe.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1173490</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1173490</guid><dc:creator><![CDATA[Justus und die ???]]></dc:creator><pubDate>Mon, 13 Nov 2006 10:42:50 GMT</pubDate></item><item><title><![CDATA[Reply to Struktur bekommt nicht Werte zugewiesen on Mon, 13 Nov 2006 10:45:59 GMT]]></title><description><![CDATA[<p>Oh man,<br />
fehler schon gefunden. Anstatt () sollte ich es mal mit {} ausprobieren. So was dummes.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1173493</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1173493</guid><dc:creator><![CDATA[Justus und die ???]]></dc:creator><pubDate>Mon, 13 Nov 2006 10:45:59 GMT</pubDate></item></channel></rss>